Postado Julho 30, 2016 9 anos otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’: otserv.cpp:687:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(result = db->storeQuery(query.str())) ^ otserv.cpp:697:57: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(result_ = db->storeQuery(query_playeritems.str())) ^ otserv.cpp:716:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(result_ = db->storeQuery(query_playerdepotitems.str())) ^ otserv.cpp:735:55: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(result_ = db->storeQuery(query_tileitems.str())) [progress=green]50[/progress]
Postado Agosto 8, 2016 8 anos acho q é só adicionar mais dois parênteses if((result = db->storeQuery(query.str())))
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.