How to fix this?
#1

How to fix this error?

(3720) : warning 203: symbol is never used: "connectionHandle"
(3720) : warning 203: symbol is never used: "unEscapedString"

2 Warnings.

Код:
stock g_mysql_ReturnEscaped(unEscapedString[], connectionHandle)
{
	new EscapedString[256];
	return EscapedString;
}
Reply
#2

By stop trying to compile NGRP's SQL code.
pawn Код:
stock g_mysql_ReturnEscaped(unEscapedString[])
{
    new EscapedString[256];
    mysql_real_escape_string(unEscapedString, EscapedString);
    return EscapedString;
}
Reply
#3

EDIT: REMOVED
Reply
#4

#pragma unused connectionHandle
#pragma unused unEscapedString

Try this!
Reply
#5

Thnx dude working
Reply
#6

I fixed it
Код:
stock g_mysql_ReturnEscaped(unEscapedString[], connectionHandle)
{
	new EscapedString[256];
	mysql_real_escape_string(unEscapedString, EscapedString, connectionHandle);
	return EscapedString;
}
Reply
#7

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
By stop trying to compile NGRP's SQL code.
pawn Код:
stock g_mysql_ReturnEscaped(unEscapedString[])
{
    new EscapedString[256];
    mysql_real_escape_string(unEscapedString, EscapedString);
    return EscapedString;
}
Код:
Thanks for code Vincentdunn :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)