Task #145305 - fixed.err

back to task #145305
download
Error: CPPCHECK_WARNING (CWE-563):
avahi-0.9.rc5/avahi-daemon/dbus-util.c:351: style[unreadVariable]: Variable 'size' is assigned a value that is never used.
#  349|   
#  350|       *rdata = NULL;
#  351|->     size = 0;
#  352|       return -1;
#  353|   }

Error: CPPCHECK_WARNING (CWE-398):
avahi-0.9.rc5/avahi-daemon/dbus-util.c:351: warning[uselessAssignmentPtrArg]: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
#  349|   
#  350|       *rdata = NULL;
#  351|->     size = 0;
#  352|       return -1;
#  353|   }