Task #124978 - fixed.err

back to task #124978
download
Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c: scope_hint: In function ‘test_api’
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:38:9: warning[-Waddress]: the address of ‘c_dvar_type_y’ will always evaluate as ‘true’
#   38 |         assert(c_dvar_type_y);
#      |         ^~~~~~
#   36|           /* builtin */
#   37|   
#   38|->         assert(c_dvar_type_y);
#   39|           assert(c_dvar_type_b);
#   40|           assert(c_dvar_type_n);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:39:9: warning[-Waddress]: the address of ‘c_dvar_type_b’ will always evaluate as ‘true’
#   39 |         assert(c_dvar_type_b);
#      |         ^~~~~~
#   37|   
#   38|           assert(c_dvar_type_y);
#   39|->         assert(c_dvar_type_b);
#   40|           assert(c_dvar_type_n);
#   41|           assert(c_dvar_type_q);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:40:9: warning[-Waddress]: the address of ‘c_dvar_type_n’ will always evaluate as ‘true’
#   40 |         assert(c_dvar_type_n);
#      |         ^~~~~~
#   38|           assert(c_dvar_type_y);
#   39|           assert(c_dvar_type_b);
#   40|->         assert(c_dvar_type_n);
#   41|           assert(c_dvar_type_q);
#   42|           assert(c_dvar_type_i);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:41:9: warning[-Waddress]: the address of ‘c_dvar_type_q’ will always evaluate as ‘true’
#   41 |         assert(c_dvar_type_q);
#      |         ^~~~~~
#   39|           assert(c_dvar_type_b);
#   40|           assert(c_dvar_type_n);
#   41|->         assert(c_dvar_type_q);
#   42|           assert(c_dvar_type_i);
#   43|           assert(c_dvar_type_u);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:42:9: warning[-Waddress]: the address of ‘c_dvar_type_i’ will always evaluate as ‘true’
#   42 |         assert(c_dvar_type_i);
#      |         ^~~~~~
#   40|           assert(c_dvar_type_n);
#   41|           assert(c_dvar_type_q);
#   42|->         assert(c_dvar_type_i);
#   43|           assert(c_dvar_type_u);
#   44|           assert(c_dvar_type_x);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:43:9: warning[-Waddress]: the address of ‘c_dvar_type_u’ will always evaluate as ‘true’
#   43 |         assert(c_dvar_type_u);
#      |         ^~~~~~
#   41|           assert(c_dvar_type_q);
#   42|           assert(c_dvar_type_i);
#   43|->         assert(c_dvar_type_u);
#   44|           assert(c_dvar_type_x);
#   45|           assert(c_dvar_type_t);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:44:9: warning[-Waddress]: the address of ‘c_dvar_type_x’ will always evaluate as ‘true’
#   44 |         assert(c_dvar_type_x);
#      |         ^~~~~~
#   42|           assert(c_dvar_type_i);
#   43|           assert(c_dvar_type_u);
#   44|->         assert(c_dvar_type_x);
#   45|           assert(c_dvar_type_t);
#   46|           assert(c_dvar_type_h);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:45:9: warning[-Waddress]: the address of ‘c_dvar_type_t’ will always evaluate as ‘true’
#   45 |         assert(c_dvar_type_t);
#      |         ^~~~~~
#   43|           assert(c_dvar_type_u);
#   44|           assert(c_dvar_type_x);
#   45|->         assert(c_dvar_type_t);
#   46|           assert(c_dvar_type_h);
#   47|           assert(c_dvar_type_d);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:46:9: warning[-Waddress]: the address of ‘c_dvar_type_h’ will always evaluate as ‘true’
#   46 |         assert(c_dvar_type_h);
#      |         ^~~~~~
#   44|           assert(c_dvar_type_x);
#   45|           assert(c_dvar_type_t);
#   46|->         assert(c_dvar_type_h);
#   47|           assert(c_dvar_type_d);
#   48|           assert(c_dvar_type_s);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:47:9: warning[-Waddress]: the address of ‘c_dvar_type_d’ will always evaluate as ‘true’
#   47 |         assert(c_dvar_type_d);
#      |         ^~~~~~
#   45|           assert(c_dvar_type_t);
#   46|           assert(c_dvar_type_h);
#   47|->         assert(c_dvar_type_d);
#   48|           assert(c_dvar_type_s);
#   49|           assert(c_dvar_type_o);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:48:9: warning[-Waddress]: the address of ‘c_dvar_type_s’ will always evaluate as ‘true’
#   48 |         assert(c_dvar_type_s);
#      |         ^~~~~~
#   46|           assert(c_dvar_type_h);
#   47|           assert(c_dvar_type_d);
#   48|->         assert(c_dvar_type_s);
#   49|           assert(c_dvar_type_o);
#   50|           assert(c_dvar_type_g);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:49:9: warning[-Waddress]: the address of ‘c_dvar_type_o’ will always evaluate as ‘true’
#   49 |         assert(c_dvar_type_o);
#      |         ^~~~~~
#   47|           assert(c_dvar_type_d);
#   48|           assert(c_dvar_type_s);
#   49|->         assert(c_dvar_type_o);
#   50|           assert(c_dvar_type_g);
#   51|           assert(c_dvar_type_v);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:50:9: warning[-Waddress]: the address of ‘c_dvar_type_g’ will always evaluate as ‘true’
#   50 |         assert(c_dvar_type_g);
#      |         ^~~~~~
#   48|           assert(c_dvar_type_s);
#   49|           assert(c_dvar_type_o);
#   50|->         assert(c_dvar_type_g);
#   51|           assert(c_dvar_type_v);
#   52|           assert(c_dvar_type_unit);

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:51:9: warning[-Waddress]: the address of ‘c_dvar_type_v’ will always evaluate as ‘true’
#   51 |         assert(c_dvar_type_v);
#      |         ^~~~~~
#   49|           assert(c_dvar_type_o);
#   50|           assert(c_dvar_type_g);
#   51|->         assert(c_dvar_type_v);
#   52|           assert(c_dvar_type_unit);
#   53|   

Error: COMPILER_WARNING (CWE-697):
dbus-broker-37/subprojects/libcdvar-1/src/test-api.c:52:9: warning[-Waddress]: the address of ‘c_dvar_type_unit’ will always evaluate as ‘true’
#   52 |         assert(c_dvar_type_unit);
#      |         ^~~~~~
#   50|           assert(c_dvar_type_g);
#   51|           assert(c_dvar_type_v);
#   52|->         assert(c_dvar_type_unit);
#   53|   
#   54|           /* type handling */