System Mageia 4 x86_64

Found 3 warnings, 1 in configure and 2 in compile:

configure warning:

config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting

compile warnings:

Redis.cpp:1028:6: warning: variable 'zErrMsg' is used uninitialized whenever
      '||' condition is true [-Wsometimes-uninitialized]
                if(!createOpenDB(&db, key) ||
                   ^~~~~~~~~~~~~~~~~~~~~~~
Redis.cpp:1034:18: note: uninitialized use occurs here
                  sqlite3_free(zErrMsg);
                               ^~~~~~~
Redis.cpp:1028:6: note: remove the '||' if its condition is always false
                if(!createOpenDB(&db, key) ||
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
Redis.cpp:1017:21: note: initialize the variable 'zErrMsg' to silence this
      warning
              char *zErrMsg, *pipe = strchr(host_buf,'|');
                           ^
                            = NULL
Redis.cpp:1028:6: warning: variable 'rc' is used uninitialized whenever '||'
      condition is true [-Wsometimes-uninitialized]
                if(!createOpenDB(&db, key) ||
                   ^~~~~~~~~~~~~~~~~~~~~~~
Redis.cpp:1030:8: note: uninitialized use occurs here
                  if(rc != SQLITE_CONSTRAINT /* Key already existing */)
                     ^~
Redis.cpp:1028:6: note: remove the '||' if its condition is always false
                if(!createOpenDB(&db, key) ||
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
Redis.cpp:1021:9: note: initialize the variable 'rc' to silence this warning
                int rc;
                      ^
                       = 0

--
Your program is sick!  Shoot it and put it out of its memory.
----------------------
Mageia release 4 (Official) for x86_64
3.14.32-desktop-1.mga4 x86_64
----------------------


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to