Snippets for tcpreplay 4.6.4 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/tcpreplay/4.6.4/1.fc46/data/logs/aarch64/build.log.
-
file.c:61:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | char * p = strrchr(fname, DIRCH); | ^~~~~~~ -
save.c:133:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | dirchp = strrchr(res, DIRCH); | ^ -
save.c:842:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 842 | temp_str = strchr(dir, '>'); | ^ -
stack.c:84:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | char * pzEq = strchr(pzSrc, '='); | ^~~~~~ -
usage.c:1153:20: warning: variable 'optNo' set but not used [-Wunused-but-set-variable=] 1153 | int optNo = 0; | ^~~~~ -
txring.c:60:16: warning: variable ‘total’ set but not used [-Wunused-but-set-variable=] 60 | static int total = 0; | ^~~~~ -
bridge.c:234:26: warning: variable ‘packetnum’ set but not used [-Wunused-but-set-variable=] 234 | static unsigned long packetnum = 0; | ^~~~~~~~~ -
common/txring.c:60:16: warning: variable ‘total’ set but not used [-Wunused-but-set-variable=] 60 | static int total = 0; | ^~~~~ -
../libopts/file.c:61:20: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | char * p = strrchr(fname, DIRCH); | ^~~~~~~ -
../libopts/save.c:133:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | dirchp = strrchr(res, DIRCH); | ^ -
../libopts/save.c:842:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 842 | temp_str = strchr(dir, '>'); | ^ -
../libopts/stack.c:84:34: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | char * pzEq = strchr(pzSrc, '='); | ^~~~~~ -
../libopts/usage.c:1153:20: warning: variable ‘optNo’ set but not used [-Wunused-but-set-variable=] 1153 | int optNo = 0; | ^~~~~