Task #2014 - xhost-1.0.9-6.fc40/scan-results.err
back to task #2014download
Error: CPPCHECK_WARNING: xhost-1.0.9-build/xhost-1.0.9/xhost.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: xhost-1.0.9-build/xhost-1.0.9/xhost.c:505:38: warning[deadcode.DeadStores]: Although the value stored to 'cp' is used in the enclosing expression, the value is never actually read from 'cp' # 503| * If it has an '@', it's a netname # 504| */ # 505|-> if ((family == FamilyNetname && (cp = strchr(name, '@'))) || # 506| (cp = strchr(name, '@'))) { # 507| char *netname = name; Error: CLANG_WARNING: xhost-1.0.9-build/xhost-1.0.9/xhost.c:506:3: warning[deadcode.DeadStores]: Although the value stored to 'cp' is used in the enclosing expression, the value is never actually read from 'cp' # 504| */ # 505| if ((family == FamilyNetname && (cp = strchr(name, '@'))) || # 506|-> (cp = strchr(name, '@'))) { # 507| char *netname = name; # 508| #ifdef SECURE_RPC