fix native compile warnings

This commit is contained in:
bmc 2013-01-21 15:44:34 -06:00
parent ec0d0beff2
commit 6da25609cf

View File

@ -494,7 +494,7 @@ protected:
} }
if (copied == 0) { if (copied == 0) {
//wait for next read ready //wait for next read ready
//result was not handled copmpletely //result was not handled completely
return false; return false;
} else if (copied == -1) { } else if (copied == -1) {
this->copyOutMode_ = false; this->copyOutMode_ = false;
@ -503,6 +503,7 @@ protected:
this->copyOutMode_ = false; this->copyOutMode_ = false;
return true; return true;
} }
return true;
} }
bool HandleResult(PGresult* result) bool HandleResult(PGresult* result)
{ {
@ -546,6 +547,7 @@ protected:
printf("YOU SHOULD NEVER SEE THIS! PLEASE OPEN AN ISSUE ON GITHUB! Unrecogized query status: %s\n", PQresStatus(status)); printf("YOU SHOULD NEVER SEE THIS! PLEASE OPEN AN ISSUE ON GITHUB! Unrecogized query status: %s\n", PQresStatus(status));
break; break;
} }
return true;
} }
void EmitCommandMetaData(PGresult* result) void EmitCommandMetaData(PGresult* result)