Fixed 5 GCC warnings

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6502 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-06-22 18:50:54 +00:00
parent 0c0d2d3f2f
commit 6bba242764
4 changed files with 8 additions and 5 deletions

View file

@ -169,6 +169,9 @@ uInt *hn) /* working area: values in order of bit length */
int y; /* number of dummy codes added */
uInt z; /* number of entries in current table */
#ifdef __GNUC__
r.base = 0; // Avoid GCC "may be used uninitialized in this function" warning
#endif
/* Generate counts for each bit length */
p=c;