Initialise the string sql to some value and the warning will go away.
Even this is fine:string sql = null;
The compiler simply wants to know that not initialising the variable was a deliberate action rather than a mistake.