[PATCH] Fix uninitialized variable with wrong type

Yuriy Skalko yuriy.skalko at gmail.com
Tue Sep 8 06:59:56 UTC 2020


> 
> There is also GetExitCodeProcess() in src/support/ForkedCalls.cpp.
> 
>         Kornel

OK, so `pret` should be DWORD. But then -1 can be assigned to it (I
assume that it is safe for all bits set for unsigned type, but still get
warnings during compilation). Should it be UINT32_MAX to get rid of this
warning?


Yuriy



More information about the lyx-devel mailing list