Snippets for arj 3.10.22 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/arj/3.10.22/47.fc45/data/logs/aarch64/build.log.
-
msgbind.c:452:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 452 | if(argv[6][strlen(argv[6])-1]!=PATHSEP_DEFAULT); | ^~ -
file_reg.c:57:17: warning: pointer targets in passing argument 1 of ‘alltrim’ differ in signedness [-Wpointer-sign] 57 | alltrim(regdata+REG_KEY1_SHIFT);
-
file_reg.c:64:8: warning: unused variable ‘nptr’ [-Wunused-variable] 64 | char *nptr; | ^~~~ -
fardata.c:60:4: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 60 | freopen(dev_con, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
decode.c:73:19: warning: pointer targets in passing argument 1 of ‘garble_decode’ differ in signedness [-Wpointer-sign] 73 | garble_decode(&byte_buf, 1); | ^~~~~~~~~ | | | unsigned char * -
decode.c:445:25: warning: pointer targets in passing argument 1 of ‘extraction_stub’ differ in signedness [-Wpointer-sign] 445 | if(extraction_stub(dec_text, DICSIZ, action)) | ^~~~~~~~ | | | unsigned char * -
decode.c:470:27: warning: pointer targets in passing argument 1 of ‘extraction_stub’ differ in signedness [-Wpointer-sign] 470 | if(extraction_stub(dec_text, DICSIZ, action)) | ^~~~~~~~ | | | unsigned char * -
decode.c:483:19: warning: pointer targets in passing argument 1 of ‘extraction_stub’ differ in signedness [-Wpointer-sign] 483 | extraction_stub(dec_text, r, action); | ^~~~~~~~ | | | unsigned char * -
decode.c:565:24: warning: pointer targets in passing argument 1 of ‘extraction_stub’ differ in signedness [-Wpointer-sign] 565 | if(extraction_stub(ntext, FDICSIZ, action)) | ^~~~~ | | | unsigned char * -
decode.c:582:25: warning: pointer targets in passing argument 1 of ‘extraction_stub’ differ in signedness [-Wpointer-sign] 582 | if(extraction_stub(ntext, FDICSIZ, action)) | ^~~~~ | | | unsigned char * -
decode.c:591:19: warning: pointer targets in passing argument 1 of ‘extraction_stub’ differ in signedness [-Wpointer-sign] 591 | extraction_stub(ntext, r, action); | ^~~~~ | | | unsigned char * -
misc.c:480:15: warning: pointer targets in passing argument 1 of ‘toupper_loc’ differ in signedness [-Wpointer-sign] 480 | toupper_loc(s, strlen(s)); | ^ | | | char * -
misc.c:661:13: warning: unused variable ‘i’ [-Wunused-variable] 661 | FILE_COUNT i; | ^ -
misc.c:809:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 809 | flist_array[fblock]=(char FAR *)farmalloc_msg((CFA_BLOCK_SIZE+3)>>2); | ^ -
misc.c:859:4: warning: operation on ‘*p’ may be undefined [-Wsequence-point] 859 | *p=(*p&=~bit_mask)|value_bits; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arjtypes.c:158:9: warning: unused variable ‘tt’ [-Wunused-variable] 158 | time_t tt; | ^~ -
arjtypes.c:152:18: warning: unused variable ‘v’ [-Wunused-variable] 152 | unsigned int i, v; | ^ -
exe_sear.c:112:17: warning: variable ‘cur_pos’ set but not used [-Wunused-but-set-variable=] 112 | unsigned long cur_pos; | ^~~~~~~ -
exe_sear.c:123:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 123 | fread(&ehdr, 1, sizeof(ehdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
exe_sear.c:132:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | fread(&shdr, 1, sizeof(shdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arjsec_h.c:43:18: warning: pointer targets in passing argument 1 of ‘crc32_for_block’ differ in signedness [-Wpointer-sign] 43 | crc32_for_block(tail, ARJSEC_RECORD_SIZE-4); | ^~~~ | | | unsigned char * -
garble.c:114:8: warning: unused variable ‘tmp_cryptmem’ [-Wunused-variable] 114 | char *tmp_cryptmem; /* Temporary storage for ARJCRYPT */ | ^~~~~~~~~~~~ -
garble.c:113:6: warning: unused variable ‘arjcrypt_size’ [-Wunused-variable] 113 | int arjcrypt_size; /* Size of ARJCRYPT module */ | ^~~~~~~~~~~~~ -
garble.c:112:8: warning: unused variable ‘stream’ [-Wunused-variable] 112 | FILE *stream; | ^~~~~~ -
garble.c:91:13: warning: ‘remove_arjcrypt’ defined but not used [-Wunused-function] 91 | static void remove_arjcrypt() | ^~~~~~~~~~~~~~~ -
arjsec_l.c:253:19: warning: pointer targets in passing argument 1 of ‘crc32_for_block’ differ in signedness [-Wpointer-sign] 253 | crc32_for_block(tmp_block, bytes_read); | ^~~~~~~~~ | | | unsigned char * -
encode.c:1030:30: warning: pointer targets in passing argument 1 of ‘fetch_uncomp’ differ in signedness [-Wpointer-sign] 1030 | if((fetch=fetch_uncomp(tree+tree_el, fetch))==0) | ~~~~^~~~~~~~ | | | unsigned char * -
encode.c:1218:30: warning: pointer targets in passing argument 1 of ‘fetch_uncomp’ differ in signedness [-Wpointer-sign] 1218 | if((fetch=fetch_uncomp(tree+tree_el, fetch))==0) | ~~~~^~~~~~~~ | | | unsigned char * -
encode.c:1584:26: warning: pointer targets in passing argument 1 of ‘fetch_uncomp’ differ in signedness [-Wpointer-sign] 1584 | if((fetch=fetch_uncomp(tree, fetch))==0) | ^~~~ | | | unsigned char * -
environ.c:1955:7: warning: unused variable ‘shflag’ [-Wunused-variable] 1955 | int shflag; | ^~~~~~ -
environ.c:2319:7: warning: unused variable ‘u’ [-Wunused-variable] 2319 | int u; | ^ -
environ.c:252:14: warning: ‘drive_c’ defined but not used [-Wunused-variable] 252 | static char drive_c[]="C:"; /* Although it's incorrect... */ | ^~~~~~~ -
environ.c:246:14: warning: ‘attrib_buf’ defined but not used [-Wunused-variable] 246 | static char attrib_buf[]="---W"; /* ASHR if all set */ | ^~~~~~~~~~ -
arj_file.c:1177:48: warning: pointer targets in passing argument 1 of ‘display_found_text’ differ in signedness [-Wpointer-sign] 1177 | search_offset=t_offset+display_found_text(block, t_offset, block_len)-len; | ^~~~~ | | | char * -
arj_file.c:1204:15: warning: pointer targets in passing argument 1 of ‘toupper_loc’ differ in signedness [-Wpointer-sign] 1204 | toupper_loc(block, block_len); | ^~~~~ | | | char * -
arj_file.c:1209:16: warning: pointer targets in passing argument 1 of ‘toupper_loc’ differ in signedness [-Wpointer-sign] 1209 | toupper_loc(search_reserve, reserve_size); | ^~~~~~~~~~~~~~ | | | char * -
arj_file.c:924:10: warning: ‘pct’ may be used uninitialized [-Wmaybe-uninitialized] 924 | prev_pct=pct; | ~~~~~~~~^~~~ -
sfx_id.c:8:13: warning: ‘sfx_id’ defined but not used [-Wunused-variable] 8 | static char sfx_id[]="zyxwbaaRJsfXaRJsfX"; | ^~~~~~ -
arj.c:831:39: warning: pointer targets in passing argument 1 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 831 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
arj.c:831:63: warning: pointer targets in passing argument 2 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 831 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
arj.c:831:87: warning: pointer targets in passing argument 3 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 831 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
arj.c:831:111: warning: pointer targets in passing argument 4 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 831 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
arj.c:1255:64: warning: pointer targets in passing argument 4 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 1255 | if(!reg_validation(single_spc, single_spc, single_spc, regdata+REG_HDR_SHIFT))
-
arj.c:714:28: warning: variable ‘proc_time’ set but not used [-Wunused-but-set-variable=] 714 | unsigned long start_time, proc_time; | ^~~~~~~~~ -
arj.c:714:16: warning: variable ‘start_time’ set but not used [-Wunused-but-set-variable=] 714 | unsigned long start_time, proc_time; | ^~~~~~~~~~ -
environ.h:936:26: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 936 | #define system_cmd(cmd) system(cmd) | ^~~~~~~~~~~ -
arj.c:642:3: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 642 | freopen(dev_con, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
postproc.c:122:6: warning: unused variable ‘sig_found’ [-Wunused-variable] 122 | int sig_found; | ^~~~~~~~~ -
postproc.c:121:6: warning: unused variable ‘p_len’ [-Wunused-variable] 121 | int p_len; | ^~~~~ -
postproc.c:239:3: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 239 | system(cmd_text); | ^~~~~~~~~~~~~~~~ -
postproc.c:34:23: warning: ‘self_check’ defined but not used [-Wunused-variable] 34 | static unsigned short self_check[]={0x9090, 0x9090, 0x138, 0x9090, 0x9090}; | ^~~~~~~~~~ -
postproc.c:30:22: warning: ‘encryption_pattern’ defined but not used [-Wunused-variable] 30 | static unsigned char encryption_pattern[]={0xB0, 0x02, 0xB0, 0x02, 0xB0, 0x03, 0xB0, | ^~~~~~~~~~~~~~~~~~ -
postproc.c:28:22: warning: ‘reg_crc_pattern’ defined but not used [-Wunused-variable] 28 | static unsigned char reg_crc_pattern[]={0xB0, 0x01, 0xB0, 0x02, 0xB0, 0x03, 0xB0, | ^~~~~~~~~~~~~~~ -
arjsfx.c:33:8: warning: unused variable ‘tmp_name’ [-Wunused-variable] 33 | char *tmp_name; | ^~~~~~~~ -
arjsfx.c:32:15: warning: unused variable ‘cur_file’ [-Wunused-variable] 32 | unsigned int cur_file; | ^~~~~~~~ -
arjsfx.c:311:7: warning: unused variable ‘tmp_reg’ [-Wunused-variable] 311 | int tmp_reg; | ^~~~~~~ -
arjsfx.c:310:14: warning: unused variable ‘cur_file’ [-Wunused-variable] 310 | FILE_COUNT cur_file; | ^~~~~~~~ -
arjsfx.c:309:14: warning: unused variable ‘count’ [-Wunused-variable] 309 | FILE_COUNT count; | ^~~~~ -
arjsfx.c:308:7: warning: unused variable ‘sort_f’ [-Wunused-variable] 308 | int sort_f; | ^~~~~~ -
arjsfx.c:307:7: warning: unused variable ‘entry’ [-Wunused-variable] 307 | int entry; | ^~~~~ -
arjsfx.c:306:7: warning: unused variable ‘expand_wildcards’ [-Wunused-variable] 306 | int expand_wildcards; | ^~~~~~~~~~~~~~~~ -
arjsfx.c:305:14: warning: unused variable ‘numfiles’ [-Wunused-variable] 305 | FILE_COUNT numfiles; | ^~~~~~~~ -
arjsfx.c:304:7: warning: unused variable ‘flist_type’ [-Wunused-variable] 304 | int flist_type; | ^~~~~~~~~~ -
arjsfx.c:303:9: warning: unused variable ‘name’ [-Wunused-variable] 303 | char *name; | ^~~~ -
arjsfx.c:302:7: warning: unused variable ‘got_str’ [-Wunused-variable] 302 | int got_str; | ^~~~~~~ -
arjsfx.c:301:19: warning: unused variable ‘tptr’ [-Wunused-variable] 301 | char *tmp_ptr, *tptr; | ^~~~ -
arjsfx.c:301:9: warning: unused variable ‘tmp_ptr’ [-Wunused-variable] 301 | char *tmp_ptr, *tptr; | ^~~~~~~ -
arjsfx.c:300:9: warning: unused variable ‘stream’ [-Wunused-variable] 300 | FILE *stream; | ^~~~~~ -
arjsfx.c:299:14: warning: unused variable ‘i’ [-Wunused-variable] 299 | FILE_COUNT i; | ^ -
arjsfx.c:298:29: warning: variable ‘proc_time’ set but not used [-Wunused-but-set-variable=] 298 | unsigned long start_time, proc_time; | ^~~~~~~~~ -
arjsfx.c:298:17: warning: variable ‘start_time’ set but not used [-Wunused-but-set-variable=] 298 | unsigned long start_time, proc_time; | ^~~~~~~~~~ -
arjsfx.c:297:7: warning: unused variable ‘is_add_cmd’ [-Wunused-variable] 297 | int is_add_cmd; | ^~~~~~~~~~ -
arjsfx.c:296:7: warning: unused variable ‘cmd’ [-Wunused-variable] 296 | int cmd; | ^~~ -
arjsfx.c:396:4: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 396 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arjsfx.c:215:3: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 215 | freopen(dev_con, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arjsfx.c:490:3: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 490 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc.c:26:12: warning: ‘xwild_propagate’ declared ‘static’ but never defined [-Wunused-function] 26 | static int xwild_propagate(char *wcstr, char *str); | ^~~~~~~~~~~~~~~ -
misc.c:22:13: warning: ‘xwild_symbols’ defined but not used [-Wunused-variable] 22 | static char xwild_symbols[]="?*[]^"; | ^~~~~~~~~~~~~ -
arj_file.c:450:8: warning: unused variable ‘sel_ptr’ [-Wunused-variable] 450 | char *sel_ptr, *rt_ptr; | ^~~~~~~ -
arj_file.c:449:16: warning: unused variable ‘ukey’ [-Wunused-variable] 449 | int sel, key, ukey; | ^~~~ -
arj_file.c:449:11: warning: unused variable ‘key’ [-Wunused-variable] 449 | int sel, key, ukey; | ^~~ -
arj_file.c:449:6: warning: unused variable ‘sel’ [-Wunused-variable] 449 | int sel, key, ukey; | ^~~ -
arj_file.c:827:23: warning: unused variable ‘ind_sizes’ [-Wunused-variable] 827 | static unsigned char ind_sizes[]={5, 0, 11, 5, 8, 11, 11}; | ^~~~~~~~~ -
arj_file.c:56:12: warning: ‘display_block’ declared ‘static’ but never defined [-Wunused-function] 56 | static int display_block(char *str, int len); | ^~~~~~~~~~~~~ -
arj_file.c:57:12: warning: ‘block_op’ declared ‘static’ but never defined [-Wunused-function] 57 | static int block_op(int action, char *block, int len); | ^~~~~~~~ -
arj_user.c:271:15: warning: variable ‘entry’ set but not used [-Wunused-but-set-variable=] 271 | unsigned int entry; | ^~~~~ -
arj_user.c:264:23: warning: unused variable ‘p_eh’ [-Wunused-variable] 264 | struct ext_hdr FAR *p_eh; | ^~~~ -
arj_user.c:263:16: warning: unused variable ‘raw_ea_size’ [-Wunused-variable] 263 | unsigned int raw_ea_size; | ^~~~~~~~~~~ -
arj_user.c:262:13: warning: unused variable ‘raw_ea’ [-Wunused-variable] 262 | char FAR *raw_ea; | ^~~~~~ -
arj_user.c:2082:7: warning: unused variable ‘enc_version’ [-Wunused-variable] 2082 | int enc_version; | ^~~~~~~~~~~ -
arj_user.c:2074:23: warning: variable ‘t_buf’ set but not used [-Wunused-but-set-variable=] 2074 | static unsigned int t_buf, v_buf; | ^~~~~ -
arj_user.c:2777:1: warning: label ‘all_volumes_done’ defined but not used [-Wunused-label] 2777 | all_volumes_done: | ^~~~~~~~~~~~~~~~ -
arj_user.c:2547:16: warning: unused variable ‘arch_time’ [-Wunused-variable] 2547 | unsigned long arch_time; | ^~~~~~~~~ -
arj_user.c:2546:6: warning: unused variable ‘vol_num’ [-Wunused-variable] 2546 | int vol_num; | ^~~~~~~ -
arj_user.c:2545:8: warning: unused variable ‘syscmd’ [-Wunused-variable] 2545 | char *syscmd; | ^~~~~~ -
arj_user.c:2544:8: warning: unused variable ‘tmp_ptr’ [-Wunused-variable] 2544 | char *tmp_ptr; | ^~~~~~~ -
arj_user.c:85:22: warning: ‘first_file_offset’ defined but not used [-Wunused-variable] 85 | static unsigned long first_file_offset; /* Offset of first file within arch. */ | ^~~~~~~~~~~~~~~~~ -
arj_user.c:79:22: warning: ‘saved_timestamp’ defined but not used [-Wunused-variable] 79 | static unsigned long saved_timestamp; | ^~~~~~~~~~~~~~~ -
arj_user.c:78:19: warning: ‘vol_file_num’ defined but not used [-Wunused-variable] 78 | static FILE_COUNT vol_file_num; | ^~~~~~~~~~~~ -
arj_user.c:77:19: warning: ‘order_fcount’ defined but not used [-Wunused-variable] 77 | static FILE_COUNT order_fcount; /* # of files in order array */ | ^~~~~~~~~~~~ -
arj_user.c:76:19: warning: ‘order_fcap’ defined but not used [-Wunused-variable] 76 | static FILE_COUNT order_fcap; /* Size of order array */ | ^~~~~~~~~~ -
arj_user.c:72:27: warning: ‘order_list’ defined but not used [-Wunused-variable] 72 | static unsigned long FAR *order_list; /* List of files to order */ | ^~~~~~~~~~ -
uxspec.c:59:18: warning: ‘fill_hdr_size’ defined but not used [-Wunused-function] 59 | static char FAR *fill_hdr_size(char FAR *dest, int type, int size) | ^~~~~~~~~~~~~ -
arj_arcv.c:61:22: warning: value computed is not used [-Wunused-value] 61 | #define hget_byte() (*(tmp_hptr++)&0xFF) | ^~~~~~~~~~~~~ -
arj_arcv.c:2091:6: warning: unused variable ‘volume_file’ [-Wunused-variable] 2091 | int volume_file; | ^~~~~~~~~~~ -
arj_arcv.c:2090:16: warning: unused variable ‘fsize’ [-Wunused-variable] 2090 | unsigned long fsize; | ^~~~~ -
arj_arcv.c:2087:6: warning: unused variable ‘answer’ [-Wunused-variable] 2087 | int answer; /* Reply to overwrite/append queries */ | ^~~~~~ -
arj_arcv.c:2498:7: warning: unused variable ‘pattern’ [-Wunused-variable] 2498 | int pattern; /* Current search pattern */ | ^~~~~~~ -
arj_arcv.c:2497:7: warning: unused variable ‘nf_error’ [-Wunused-variable] 2497 | int nf_error; /* Non-fatal error */ | ^~~~~~~~ -
arj_arcv.c:2496:7: warning: unused variable ‘errflag’ [-Wunused-variable] 2496 | int errflag; | ^~~~~~~ -
arj_arcv.c:2495:7: warning: unused variable ‘found’ [-Wunused-variable] 2495 | int found; /* 1 if the file is present */ | ^~~~~ -
arj_arcv.c:2817:6: warning: unused variable ‘trim’ [-Wunused-variable] 2817 | int trim; | ^~~~ -
arj_arcv.c:2816:6: warning: unused variable ‘dir_num’ [-Wunused-variable] 2816 | int dir_num; | ^~~~~~~ -
arj_arcv.c:2815:7: warning: unused variable ‘subdir’ [-Wunused-variable] 2815 | char subdir[8]; | ^~~~~~ -
arj_arcv.c:2814:17: warning: unused variable ‘out_entry’ [-Wunused-variable] 2814 | int tmp_entry, out_entry; | ^~~~~~~~~ -
arj_arcv.c:2814:6: warning: unused variable ‘tmp_entry’ [-Wunused-variable] 2814 | int tmp_entry, out_entry; | ^~~~~~~~~ -
arj_arcv.c:2810:7: warning: unused variable ‘tmp_name’ [-Wunused-variable] 2810 | char tmp_name[FILENAME_MAX]; | ^~~~~~~~ -
arj_arcv.c:2804:16: warning: unused variable ‘cur_pos’ [-Wunused-variable] 2804 | unsigned long cur_pos; | ^~~~~~~ -
arj_arcv.c:2803:16: warning: unused variable ‘tmp_compsize’ [-Wunused-variable] 2803 | unsigned long tmp_compsize; | ^~~~~~~~~~~~ -
arj_arcv.c:2802:8: warning: unused variable ‘fname’ [-Wunused-variable] 2802 | char *fname; /* Formatted filename */ | ^~~~~ -
arj_arcv.c:3386:19: warning: unused variable ‘ubound’ [-Wunused-variable] 3386 | FILE_COUNT num, ubound; /* For by-number tagging */ | ^~~~~~ -
arj_arcv.c:3386:14: warning: unused variable ‘num’ [-Wunused-variable] 3386 | FILE_COUNT num, ubound; /* For by-number tagging */ | ^~~ -
arj_arcv.c:3384:7: warning: unused variable ‘lp_entry’ [-Wunused-variable] 3384 | int lp_entry, st_entry; | ^~~~~~~~ -
arj_arcv.c:3383:9: warning: unused variable ‘nptr’ [-Wunused-variable] 3383 | char *nptr; | ^~~~ -
arj_arcv.c:27:14: warning: ‘tmp_comment’ defined but not used [-Wunused-variable] 27 | static char *tmp_comment=NULL; /* Temporary comment storage */ | ^~~~~~~~~~~ -
arj_proc.c:1154:3: warning: value computed is not used [-Wunused-value] 1154 | *rp++; | ^~~~~ -
arj_proc.c:1159:3: warning: value computed is not used [-Wunused-value] 1159 | *rp++; | ^~~~~ -
arj_proc.c:1164:3: warning: value computed is not used [-Wunused-value] 1164 | *rp++; | ^~~~~ -
arj_proc.c:1169:3: warning: value computed is not used [-Wunused-value] 1169 | *rp++; | ^~~~~ -
arj_proc.c:2498:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2498 | fread(buffer, 1, (int)offset, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
environ.h:274:32: warning: ‘rc’ may be used uninitialized [-Wmaybe-uninitialized] 274 | #define min(a, b) ((a)<(b)?(a):(b))
-
/usr/include/bits/string_fortified.h:152:10: warning: ‘strcat’ accessing 514 or more bytes at offsets 513 and 1026 may overlap 1 byte at offset 1026 [-Wrestrict] 152 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/bits/string_fortified.h:152:10: warning: ‘strcat’ accessing 512 or more bytes at offsets 513 and 2 may overlap 1 byte at offset 513 [-Wrestrict] 152 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arj_proc.c:203:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 203 | strncpy(ext, ext_pos, sizeof(ext)); | ^ -
environ.c:2184:2: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2184 | getcwd(buf, len); | ^~~~~~~~~~~~~~~~ -
environ.c:3891:3: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3891 | chdir(dir); | ^~~~~~~~~~ -
recovery.c:377:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 377 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:385:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 385 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:406:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 406 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:415:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 415 | fread(single_pad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:440:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 440 | fread(protpad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:460:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 460 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:553:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 553 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:561:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 561 | fread(single_pad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:586:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 586 | fread(protpad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:606:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 606 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:812:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 812 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:821:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 821 | fread(single_pad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:847:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 847 | fread(protpad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
recovery.c:867:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 867 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arj_arcv.c:1417:22: warning: unused variable ‘p_eh’ [-Wunused-variable] 1417 | struct ext_hdr FAR *p_eh; | ^~~~ -
arj_arcv.c:1405:6: warning: variable ‘lfn’ set but not used [-Wunused-but-set-variable=] 1405 | int lfn; | ^~~ -
arj_arcv.c:2952:24: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 2952 | sprintf(subdir, "%03d%c", dir_num, PATHSEP_DEFAULT); | ^~~~ -
arj_file.c:825:8: warning: variable ‘p’ set but not used [-Wunused-but-set-variable=] 825 | char *p; | ^ -
arj_file.c:23:13: warning: ‘reply_help’ defined but not used [-Wunused-variable] 23 | static char reply_help[]="?"; /* Request for help */ | ^~~~~~~~~~ -
arj_proc.c:2669:8: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 2669 | fetch=dec_text; | ^ -
arj_user.c:274:8: warning: unused variable ‘tmp_ptr’ [-Wunused-variable] 274 | char *tmp_ptr; /* Either from the host_os_names list or | ^~~~~~~ -
arj_user.c:271:15: warning: unused variable ‘entry’ [-Wunused-variable] 271 | unsigned int entry; | ^~~~~ -
arj_user.c:2297:4: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2297 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
arj_user.c:71:19: warning: ‘total_processed’ defined but not used [-Wunused-variable] 71 | static FILE_COUNT total_processed; /* Number of already processed files */ | ^~~~~~~~~~~~~~~ -
arj_user.c:67:13: warning: ‘bell’ defined but not used [-Wunused-variable] 67 | static char bell[]="\a"; | ^~~~ -
arj_user.c:66:13: warning: ‘stub_fmt’ defined but not used [-Wunused-variable] 66 | static char stub_fmt[]="%s%03d%s"; | ^~~~~~~~ -
arj_user.c:65:13: warning: ‘volfmt_4digit’ defined but not used [-Wunused-variable] 65 | static char volfmt_4digit[]="%s%4d"; | ^~~~~~~~~~~~~ -
arj_user.c:64:13: warning: ‘volfmt_3digit’ defined but not used [-Wunused-variable] 64 | static char volfmt_3digit[]="%s%03d"; | ^~~~~~~~~~~~~ -
arj_user.c:63:13: warning: ‘volfmt_2digit’ defined but not used [-Wunused-variable] 63 | static char volfmt_2digit[]="%s%02d"; | ^~~~~~~~~~~~~ -
arj_arcv.c:162:7: warning: unused variable ‘end_pos’ [-Wunused-variable] 162 | long end_pos; | ^~~~~~~ -
arj_arcv.c:2092:16: warning: unused variable ‘append_pos’ [-Wunused-variable] 2092 | unsigned long append_pos; | ^~~~~~~~~~ -
arj_arcv.c:2088:6: warning: unused variable ‘fr’ [-Wunused-variable] 2088 | int fr; | ^~ -
arj_arcv.c:2414:16: warning: unused variable ‘st_ticks’ [-Wunused-variable] 2414 | unsigned long st_ticks=0; | ^~~~~~~~ -
arj_arcv.c:2811:12: warning: unused variable ‘raw_eh’ [-Wunused-variable] 2811 | char FAR *raw_eh; | ^~~~~~ -
arj_arcv.c:422:3: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 422 | strncpy(comment, hdr_comment, COMMENT_MAX); | ^ -
arj_arcv.c:422:3: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation]
-
arj_arcv.c:430:4: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 430 | strncpy(filename, hdr_comment, FILENAME_MAX); | ^ -
arj_file.c:51:13: warning: ‘sfmt_sfx’ defined but not used [-Wunused-variable] 51 | static char sfmt_sfx[]="%4d%%\b\b\b\b\b"; | ^~~~~~~~ -
arjcrypt.c:392:34: warning: pointer targets in passing argument 1 of ‘gost_encode’ differ in signedness [-Wpointer-sign] 392 | codec(gost_encode, exblock_ptr->data, exblock_ptr->len); | ~~~~~~~~~~~^~~~~~ | | | char * -
arjcrypt.c:392:34: warning: pointer targets in passing argument 2 of ‘gost_encode’ differ in signedness [-Wpointer-sign] 392 | codec(gost_encode, exblock_ptr->data, exblock_ptr->len); | ~~~~~~~~~~~^~~~~~ | | | char * -
arjcrypt.c:396:34: warning: pointer targets in passing argument 1 of ‘gost_decode’ differ in signedness [-Wpointer-sign] 396 | codec(gost_decode, exblock_ptr->data, exblock_ptr->len); | ~~~~~~~~~~~^~~~~~ | | | char * -
arjcrypt.c:396:34: warning: pointer targets in passing argument 2 of ‘gost_decode’ differ in signedness [-Wpointer-sign] 396 | codec(gost_decode, exblock_ptr->data, exblock_ptr->len); | ~~~~~~~~~~~^~~~~~ | | | char * -
arjcrypt.c:401:39: warning: pointer targets in passing argument 1 of ‘gost_cipher_proc’ differ in signedness [-Wpointer-sign] 401 | codec(gost_cipher_proc, exblock_ptr->data, exblock_ptr->len); | ~~~~~~~~~~~^~~~~~ | | | char * -
arjcrypt.c:401:39: warning: pointer targets in passing argument 2 of ‘gost_cipher_proc’ differ in signedness [-Wpointer-sign] 401 | codec(gost_cipher_proc, exblock_ptr->data, exblock_ptr->len); | ~~~~~~~~~~~^~~~~~ | | | char * -
arjcrypt.c:31:13: warning: ‘id’ defined but not used [-Wunused-variable] 31 | static char id[]="NortheastXXXXXXXX"; /* Currently unused */ | ^~ -
arjdisp.c:193:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 193 | system("arj t arj*" EXE_EXTENSION " -hep -*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
packager.c:135:8: warning: unused variable ‘p’ [-Wunused-variable] 135 | char *p; | ^ -
packager.c:330:20: warning: unused variable ‘ppath’ [-Wunused-variable] 330 | char *p, *pname, *ppath; | ^~~~~ -
packager.c:330:12: warning: unused variable ‘pname’ [-Wunused-variable] 330 | char *p, *pname, *ppath; | ^~~~~ -
packager.c:475:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 475 | system(cmdline); | ^~~~~~~~~~~~~~~ -
packager.c:34:13: warning: ‘l_nullstr’ defined but not used [-Wunused-variable] 34 | static char l_nullstr[]=""; | ^~~~~~~~~ -
packager.c:199:26: warning: ‘%s’ directive writing up to 127 bytes into a region of size 122 [-Wformat-overflow=] 199 | sprintf(out_str, "@{c40}%s@{_}\n", tmp_str); | ^~ ~~~~~~~ -
packager.c:386:39: warning: ‘%s’ directive writing up to 511 bytes into a region of size 494 [-Wformat-overflow=] 386 | sprintf(arj_cmds, "a -2e.*TYPE -jm -z%s -y -je -va retail" P "%s %s", tmp_name, buf, platform_specific); | ^~ ~~~~~~~~ -
packager.c:474:19: warning: ‘%s’ directive writing up to 511 bytes into a region of size 502 [-Wformat-overflow=] 474 | sprintf(cmdline, "%s" P "arj" P "arj @%s -+", argv[1], pkg_rsp); | ^~~~ ~~~~~~~ -
arjsfxjr.c:482:14: warning: pointer targets in passing argument 1 of ‘fwrite_crc’ differ in signedness [-Wpointer-sign] 482 | fwrite_crc(dec_text, fetch_size); | ^~~~~~~~ | | | unsigned char * -
arjsfxjr.c:1035:16: warning: pointer targets in passing argument 1 of ‘fwrite_crc’ differ in signedness [-Wpointer-sign] 1035 | fwrite_crc(dec_text, DICSIZ); | ^~~~~~~~ | | | unsigned char * -
arjsfxjr.c:1059:18: warning: pointer targets in passing argument 1 of ‘fwrite_crc’ differ in signedness [-Wpointer-sign] 1059 | fwrite_crc(dec_text, DICSIZ); | ^~~~~~~~ | | | unsigned char * -
arjsfxjr.c:1068:14: warning: pointer targets in passing argument 1 of ‘fwrite_crc’ differ in signedness [-Wpointer-sign] 1068 | fwrite_crc(dec_text, r); | ^~~~~~~~ | | | unsigned char * -
environ.h:248:32: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 248 | #define _write write
-
arjsfxjr.c:266:24: warning: array subscript ‘long unsigned int[0]’ is partly outside array bounds of ‘char[4]’ [-Warray-bounds=] 266 | #define mget_dword(p) (*(unsigned long *)(p)) | ~^~~~~~~~~~~~~~~~~~~~~~ -
rearj.c:1362:38: warning: pointer targets in passing argument 1 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 1362 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
rearj.c:1362:62: warning: pointer targets in passing argument 2 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 1362 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
rearj.c:1362:86: warning: pointer targets in passing argument 3 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 1362 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
rearj.c:1362:110: warning: pointer targets in passing argument 4 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 1362 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT);
-
rearj.c:1372:64: warning: pointer targets in passing argument 4 of ‘reg_validation’ differ in signedness [-Wpointer-sign] 1372 | if(!reg_validation(single_spc, single_spc, single_spc, regdata+REG_HDR_SHIFT))
-
rearj.c:108:12: warning: ‘exclusion_assigned’ defined but not used [-Wunused-variable] 108 | static int exclusion_assigned; /* Never used but implemented (/x) */ | ^~~~~~~~~~~~~~~~~~ -
rearj.c:663:27: warning: ‘%s’ directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] 663 | sprintf(cmd_buffer, "%s %s", preunpack_cmd_text, full_name); | ^~ ~~~~~~~~~ -
rearj.c:690:27: warning: ‘%s’ directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] 690 | sprintf(cmd_buffer, "%s %s", precount_cmd_text, full_name); | ^~ ~~~~~~~~~