ae67f16e9b
card-iasecc.c:3206:3: error: variable 'rv' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] ...LOG_TEST_RET(ctx, SC_ERROR_INVALID_ARGUMENTS, "Need RSA_HASH_SHA1 or RSA_HASH_SHA256 algorithm"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libopensc/log.h:90:36: note: expanded from macro 'LOG_TEST_RET' ...r, text) SC_TEST_RET((ctx), SC_LOG_DEBUG_NORMAL, (r), (text)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/libopensc/log.h:84:6: note: expanded from macro 'SC_TEST_RET' if (_ret < 0) { \ ^~~~~~~~ card-iasecc.c:3207:20: note: uninitialized use occurs here LOG_TEST_RET(ctx, rv, "Cannot get QSign data"); ^~ ../../src/libopensc/log.h:90:77: note: expanded from macro 'LOG_TEST_RET' ...r, text) SC_TEST_RET((ctx), SC_LOG_DEBUG_NORMAL, (r), (text)) ^ ../../src/libopensc/log.h:83:14: note: expanded from macro 'SC_TEST_RET' int _ret = (r); \ ^ card-iasecc.c:3206:3: note: remove the 'if' if its condition is always true LOG_TEST_RET(ctx, SC_ERROR_INVALID_ARGUMENTS, "Need RSA_... ^ ../../src/libopensc/log.h:90:36: note: expanded from macro 'LOG_TEST_RET' ^ ../../src/libopensc/log.h:84:2: note: expanded from macro 'SC_TEST_RET' if (_ret < 0) { \ ^ card-iasecc.c:3185:8: note: initialize the variable 'rv' to silence this warning int rv; ^ = 0 |
||
---|---|---|
MacOSX | ||
doc | ||
etc | ||
m4 | ||
packaging/debian.templates | ||
solaris | ||
src | ||
win32 | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYING | ||
Makefile.am | ||
Makefile.mak | ||
NEWS | ||
README | ||
README.md | ||
appveyor.yml | ||
bootstrap | ||
bootstrap.ci | ||
configure.ac | ||
version.m4 |
README.md
OpenSC documentation
Wiki is available online
Please take a look at the documentation before trying to use OpenSC.