-
Sub-task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Security Level: Public (Visbile by non-authn users.)
-
None
The compiler warns that
/PtgRequest.cpp:277:36: warning: ‘dirOptionId’ may be used uninitialized in this function [-Wmaybe-uninitialized] query_s << dirOptionId << ", ";
but in fact that var cannot be used uninitialized, because the existing initialization cannot fail without an exception being raised and a continue statement be called.
However the warning needs to be fixed. One possibility is to put all the code in the loop in one single try block, with all the catch'es at the end.