Unused variable warning in aesGladman/fileenc.cpp
3D Engine c++
Brought to you by:
cutealien,
nimphoenix2
I modified the code in aesGladman/fileenc.cpp to eliminate a compile-time warning
(\aesGladman\fileenc.cpp|134|warning: unused variable 'res' [-Wunused-variable])
Another solution could be to get rid of the local variable res in fcrypt_end() function, since it's not strictly needed.
I enclose the modified file.
Fixed in svn trunk version r5374. Had to use the second solution with removing the local variable. The first patch didn't remove the warning as that macro doesn't use the variable (just returns 10 always and ignores the variable) ;-)