<86>Apr 14 01:56:26 userdel[121723]: delete user 'rooter' <86>Apr 14 01:56:26 groupadd[121765]: group added to /etc/group: name=rooter, GID=603 <86>Apr 14 01:56:26 groupadd[121765]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:56:26 groupadd[121765]: new group: name=rooter, GID=603 <86>Apr 14 01:56:26 useradd[121831]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Apr 14 01:56:26 userdel[121863]: delete user 'builder' <86>Apr 14 01:56:26 userdel[121863]: removed group 'builder' owned by 'builder' <86>Apr 14 01:56:26 userdel[121863]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:56:26 groupadd[121870]: group added to /etc/group: name=builder, GID=604 <86>Apr 14 01:56:26 groupadd[121870]: group added to /etc/gshadow: name=builder <86>Apr 14 01:56:26 groupadd[121870]: new group: name=builder, GID=604 <86>Apr 14 01:56:26 useradd[121885]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Apr 14 01:56:29 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:56:29 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:56:29 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:56:29 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Apr 14 01:56:29 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:56:29 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:56:29 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:56:29 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:56:29 rpmi: rpm-macros-pam0-1.3.0-alt1 1465951470 installed <13>Apr 14 01:56:29 rpmi: libpam0-devel-1.3.0-alt1 1465951439 installed <13>Apr 14 01:56:30 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:56:30 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <86>Apr 14 01:56:30 groupadd[130070]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:56:30 groupadd[130070]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:56:30 groupadd[130070]: new group: name=_keytab, GID=499 <13>Apr 14 01:56:30 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:56:30 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:56:30 groupadd[130418]: group added to /etc/group: name=sasl, GID=498 <86>Apr 14 01:56:30 groupadd[130418]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:56:30 groupadd[130418]: new group: name=sasl, GID=498 <13>Apr 14 01:56:30 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:56:30 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:56:30 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:56:30 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:56:30 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed Installing ckermit-9.0.304-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57256 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf x + /bin/mkdir -p x + cd x + echo 'Source #0 (x.tar.gz):' Source #0 (x.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/x.tar.gz + /bin/tar -xf - + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (cku302-fmt.diff):' Patch #0 (cku302-fmt.diff): + /usr/bin/patch -p0 patching file ckuus4.c Hunk #1 succeeded at 6318 (offset 24 lines). patching file ckuus5.c Hunk #1 succeeded at 8051 (offset 198 lines). patching file ckuus7.c Hunk #1 succeeded at 12932 (offset 96 lines). + echo 'Patch #1 (cku211-prototypes.diff):' Patch #1 (cku211-prototypes.diff): + /usr/bin/patch -p0 patching file ckcdeb.h Hunk #1 succeeded at 1386 (offset 1 line). Hunk #2 succeeded at 1397 (offset 1 line). patching file ckcfns.c Hunk #1 succeeded at 89 (offset -4 lines). patching file ckcnet.c Hunk #1 succeeded at 192 (offset 19 lines). patching file ckufio.c Hunk #1 succeeded at 527 with fuzz 2 (offset 26 lines). patching file ckuus4.c Hunk #1 succeeded at 39 (offset 5 lines). patching file ckuus5.c patching file ckuus6.c Hunk #1 succeeded at 41 (offset 10 lines). patching file ckuus7.c patching file ckuusr.c patching file ckuusx.c Hunk #1 succeeded at 68 with fuzz 1 (offset 1 line). + echo 'Patch #3 (cku302-return.diff):' Patch #3 (cku302-return.diff): + /usr/bin/patch -p0 patching file ckuath.c + echo 'Patch #6 (cku211-uninitialized.diff):' Patch #6 (cku211-uninitialized.diff): + /usr/bin/patch -p0 patching file ckuus6.c Hunk #1 succeeded at 2314 (offset 258 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57256 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd x + make linux+openssl+shadow 'KFLAGS=-pipe -Wall -g -O2' SSLLIB=-L/usr/lib64 SSLINC=-I/usr/include/openssl make: Entering directory `/usr/src/RPM/BUILD/x' Making C-Kermit "9.0.304" for Linux+OpenSSL SSLLIB=-L/usr/lib64 /bin/sh: openssl: command not found NO DES make[1]: Entering directory `/usr/src/RPM/BUILD/x' Making C-Kermit for Linux... make[2]: Entering directory `/usr/src/RPM/BUILD/x' Making C-Kermit "9.0.304" for Linux 1.2 or later... IMPORTANT: Read the comments in the linux section of the makefile if you have trouble. make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \ -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2" "LNKFLAGS = " \ "LIBS = -L/usr/lib64 -lssl -lcrypto -lpam -ldl -lz -lutil -lncurses -lresolv -lcrypt -lm" make[3]: Entering directory `/usr/src/RPM/BUILD/x' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcmai.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckclib.c ckclib.c: In function 'ckmatch': ckclib.c:1421:30: warning: variable 'xstar' set but not used [-Wunused-but-set-variable] int plen, dot, globbing, xstar = 0; ^ ckclib.c:1420:12: warning: variable 'patstart' set but not used [-Wunused-but-set-variable] char * patstart; /* Start of pattern */ ^ ckclib.c: In function 'ckround': ckclib.c:2101:26: warning: unused variable 'digits' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c:2101:20: warning: unused variable 'x' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c:2101:9: warning: unused variable 'i' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c: In function 'cksplit': ckclib.c:3189:9: warning: value computed is not used [-Wunused-value] *s2++; ^ ckclib.c: In function 'ckmatch': ckclib.c:1495:8: warning: 'dot' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!dot) { /* For UNIX file globbing */ ^ In file included from ckclib.c:72:0: ckclib.c: In function 'cksplit': ckcdeb.h:5151:2: warning: 'ss' may be used uninitialized in this function [-Wmaybe-uninitialized] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckclib.c:3003:9: note: 'ss' was declared here char * ss; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckucmd.c ckucmd.c: In function 'cmifi2': ckucmd.c:1729:23: warning: unused variable 'p' [-Wunused-variable] char *sv = NULL, *p = NULL; ^ ckucmd.c: In function 'cmdelta': ckucmd.c:3798:22: warning: unused variable 'd3' [-Wunused-variable] long d1 = 0, d2, d3; ^ ckucmd.c:3796:34: warning: unused variable 'zss' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3796:29: warning: unused variable 'zmm' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3796:24: warning: unused variable 'zhh' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3796:19: warning: unused variable 'zdd' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3796:14: warning: unused variable 'zmo' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3796:9: warning: unused variable 'zyy' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c: In function 'cmcvtdate': ckucmd.c:4323:15: warning: unused variable 'minus' [-Wunused-variable] int i, k, n, minus = 0; ^ ckucmd.c:4323:12: warning: unused variable 'n' [-Wunused-variable] int i, k, n, minus = 0; ^ ckucmd.c:4102:23: warning: unused variable 'tb' [-Wunused-variable] char timbuf[16], *tb, cc; ^ ckucmd.c:4102:10: warning: unused variable 'timbuf' [-Wunused-variable] char timbuf[16], *tb, cc; ^ ckucmd.c:4091:41: warning: unused variable 'sec' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^ ckucmd.c:4091:27: warning: unused variable 'min' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^ ckucmd.c:4091:12: warning: unused variable 'hour' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^ ckucmd.c:4073:9: warning: variable 'kn' set but not used [-Wunused-but-set-variable] int kn = 0, ft[8], isletter = 0, f2len = 0; ^ ckucmd.c: In function 'shuffledate': ckucmd.c:5457:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) ^ ckucmd.c:5459:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) ^ ckucmd.c: In function 'cmdate': ckucmd.c:5634:11: warning: variable 'o' set but not used [-Wunused-but-set-variable] char *o, *s, *zq, *dp; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuusr.c ckuusr.c: In function 'doxsend': ckuusr.c:3973:12: warning: unused variable 'm' [-Wunused-variable] char * m; /* For making help messages */ ^ ckuusr.c: In function 'doxconn': ckuusr.c:5385:19: warning: unused variable 'macp' [-Wunused-variable] extern char * macp[]; ^ ckuusr.c:5384:19: warning: unused variable 'tfile' [-Wunused-variable] extern FILE * tfile[]; ^ ckuusr.c: In function 'doadd': ckuusr.c:5610:15: warning: unused variable 'k' [-Wunused-variable] int i, j, k, n = 0, x = 0, last; ^ ckuusr.c: In function 'copyarray': ckuusr.c:6242:10: warning: variable 'c1' set but not used [-Wunused-but-set-variable] char c1, c2, * a1, * a2; ^ In file included from ckcnet.h:1245:0, from ckuusr.c:97: ckuusr.c: In function 'dotelopt': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckuusr.c:6843:42: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,256,"TELNET SENT ",TELCMD(x),NULL,NULL); ^ ckuusr.c: In function 'redossh': ckuusr.c:7855:12: warning: variable 'netsave' set but not used [-Wunused-but-set-variable] int x, netsave; ^ ckuusr.c: In function 'hmsgaa': ckuusr.c:7918:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ ^ ckuusr.c: In function 'isinternalmacro': ckuusr.c:7954:20: warning: unused variable 'j' [-Wunused-variable] int i, j, n, len = 0; ^ ckuusr.c:7932:9: warning: unused variable 'i' [-Wunused-variable] int i, internal = 0; ^ ckuusr.c: In function 'newerrmsg': ckuusr.c:8077:3: warning: label 'xnewerrmsg' defined but not used [-Wunused-label] xnewerrmsg: ^ ckuusr.c:7997:12: warning: unused variable 'buf' [-Wunused-variable] char * buf = errmsgbuf; ^ ckuusr.c: In function 'docmd': ckuusr.c:9350:16: warning: unused variable 'k_info_dir' [-Wunused-variable] extern char * k_info_dir; ^ ckuusr.c:9427:34: warning: unused variable 'isinbuflen' [-Wunused-variable] extern int itsapattern, isjoin, isinbuflen; ^ ckuusr.c:12093:6: warning: unused variable 'i' [-Wunused-variable] int i, n, xpipe = 0, xbinary = 0, xxlate = 1, xxnowait = 0, getval; ^ ckuusr.c:12269:6: warning: unused variable 'height' [-Wunused-variable] int height = 0, count = 0; ^ ckuusr.c:12932:14: warning: unused variable 'cmdatebuf' [-Wunused-variable] extern char cmdatebuf[], * cmdatemsg; ^ ckuusr.c:13510:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13513:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13518:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13520:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13449:20: warning: unused variable 'p' [-Wunused-variable] char * s, *p, vbuf[32]; ^ ckuusr.c:13559:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if (s) if (s == "") s = NULL; ^ ckuusr.c:13567:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if (s) if (s == "") s = NULL; ^ ckuusr.c:13555:16: warning: unused variable 't' [-Wunused-variable] char * t = tmpbuf; /* Create or alter environment var */ ^ In file included from ckuusr.c:94:0: ckuusr.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus2.c ckuus2.c: In function 'hmsga': ckuus2.c:7457:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ ^ In file included from ckuus2.c:29:0: ckuus2.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuus2.c:167:14: warning: 'tophlpi' defined but not used [-Wunused-variable] static char *tophlpi[] = { /* Top-level help for IKSD */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus3.c ckuus3.c:321:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab pfxtab[] = { ^ ckuus3.c:321:33: note: (near initialization for 'pfxtab') ckuus3.c:364:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ctltab[] = { ^ ckuus3.c:364:26: note: (near initialization for 'ctltab') ckuus3.c:370:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab oldnew[] = { ^ ckuus3.c:370:33: note: (near initialization for 'oldnew') ckuus3.c:384:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab functab[] = { ^ ckuus3.c:384:34: note: (near initialization for 'functab') ckuus3.c:390:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab outptab[] = { /* SET OUTPUT parameters */ ^ ckuus3.c:390:27: note: (near initialization for 'outptab') ckuus3.c:397:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab chktab[] = { /* Block check types */ ^ ckuus3.c:397:26: note: (near initialization for 'chktab') ckuus3.c:408:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab rpttab[] = { /* SET REPEAT */ ^ ckuus3.c:408:26: note: (near initialization for 'rpttab') ckuus3.c:419:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab crrtab[] = { ^ ckuus3.c:419:26: note: (near initialization for 'crrtab') ckuus3.c:427:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ooatab[] = { /* On/Off/Auto table */ ^ ckuus3.c:427:26: note: (near initialization for 'ooatab') ckuus3.c:433:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ooetab[] = { /* On/Off/Stderr table 2010/03/12 */ ^ ckuus3.c:433:26: note: (near initialization for 'ooetab') ckuus3.c:444:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ooktab[] = { /* On/Off/Ask table */ ^ ckuus3.c:444:26: note: (near initialization for 'ooktab') ckuus3.c:450:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab qvtab[] = { /* Quiet/Verbose table */ ^ ckuus3.c:450:25: note: (near initialization for 'qvtab') ckuus3.c:465:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab dbgtab[] = { ^ ckuus3.c:465:26: note: (near initialization for 'dbgtab') ckuus3.c:572:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnspdtab[] = { /* RFC 2217 TELNET COMPORT Option */ ^ ckuus3.c:572:28: note: (near initialization for 'tnspdtab') ckuus3.c:600:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab dpxtab[] = { ^ ckuus3.c:600:26: note: (near initialization for 'dpxtab') ckuus3.c:608:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab cxtypesw[] = { ^ ckuus3.c:608:28: note: (near initialization for 'cxtypesw') ckuus3.c:639:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnflotab[] = { /* SET FLOW-CONTROL keyword table */ ^ ckuus3.c:639:28: note: (near initialization for 'tnflotab') ckuus3.c:650:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab flotab[] = { /* SET FLOW-CONTROL keyword table */ ^ ckuus3.c:650:26: note: (near initialization for 'flotab') ckuus3.c:672:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab hshtab[] = { ^ ckuus3.c:672:26: note: (near initialization for 'hshtab') ckuus3.c:685:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sfttab[] = { /* File types for SET SESSION-LOG */ ^ ckuus3.c:685:33: note: (near initialization for 'sfttab') ckuus3.c:762:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab drstrtab[] = { ^ ckuus3.c:762:35: note: (near initialization for 'drstrtab') ckuus3.c:769:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab dcnvtab[] = { ^ ckuus3.c:769:34: note: (near initialization for 'dcnvtab') ckuus3.c:775:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab setmdm[] = { ^ ckuus3.c:775:26: note: (near initialization for 'setmdm') ckuus3.c:798:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab voltab[] = { ^ ckuus3.c:798:26: note: (near initialization for 'voltab') ckuus3.c:804:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab mdmcap[] = { ^ ckuus3.c:804:26: note: (near initialization for 'mdmcap') ckuus3.c:834:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab dialtab[] = { /* SET DIAL table */ ^ ckuus3.c:834:27: note: (near initialization for 'dialtab') ckuus3.c:901:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab mdmhang[] = { ^ ckuus3.c:901:27: note: (near initialization for 'mdmhang') ckuus3.c:909:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab mdmcmd[] = { ^ ckuus3.c:909:33: note: (near initialization for 'mdmcmd') ckuus3.c:929:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab dial_fc[] = { ^ ckuus3.c:929:27: note: (near initialization for 'dial_fc') ckuus3.c:936:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab dial_m[] = { /* DIAL METHOD */ ^ ckuus3.c:936:26: note: (near initialization for 'dial_m') ckuus3.c:988:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab wildtab[] = { /* SET WILDCARD-EXPANSION */ ^ ckuus3.c:988:27: note: (near initialization for 'wildtab') ckuus3.c:1001:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab wdottab[] = { /* cont'd */ ^ ckuus3.c:1001:27: note: (near initialization for 'wdottab') ckuus3.c:1060:32: warning: missing braces around initializer [-Wmissing-braces] static struct keytab vbtab[] = { ^ ckuus3.c:1060:32: note: (near initialization for 'vbtab') ckuus3.c:1075:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab syslogtab[] = { ^ ckuus3.c:1075:36: note: (near initialization for 'syslogtab') ckuus3.c:1092:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab partbl[] = { ^ ckuus3.c:1092:26: note: (near initialization for 'partbl') ckuus3.c:1105:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab hwpartbl[] = { ^ ckuus3.c:1105:28: note: (near initialization for 'hwpartbl') ckuus3.c:1122:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab onoff[] = { ^ ckuus3.c:1122:25: note: (near initialization for 'onoff') ckuus3.c:1131:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab cdtab[] = { ^ ckuus3.c:1131:25: note: (near initialization for 'cdtab') ckuus3.c:1138:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab cdmsg[] = { ^ ckuus3.c:1138:25: note: (near initialization for 'cdmsg') ckuus3.c:1146:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab xittab[] = { /* SET EXIT */ ^ ckuus3.c:1146:26: note: (near initialization for 'xittab') ckuus3.c:1155:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab xitwtab[] = { /* SET EXIT WARNING */ ^ ckuus3.c:1155:27: note: (near initialization for 'xitwtab') ckuus3.c:1162:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab rltab[] = { ^ ckuus3.c:1162:25: note: (near initialization for 'rltab') ckuus3.c:1172:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ifdtab[] = { ^ ckuus3.c:1172:26: note: (near initialization for 'ifdtab') ckuus3.c:1177:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab ifdatab[] = { ^ ckuus3.c:1177:27: note: (near initialization for 'ifdatab') ckuus3.c:1187:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab taktab[] = { ^ ckuus3.c:1187:26: note: (near initialization for 'taktab') ckuus3.c:1206:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab smactab[] = { ^ ckuus3.c:1206:27: note: (near initialization for 'smactab') ckuus3.c:1214:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab scrtab[] = { ^ ckuus3.c:1214:26: note: (near initialization for 'scrtab') ckuus3.c:1242:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab scmdtab[] = { ^ ckuus3.c:1242:34: note: (near initialization for 'scmdtab') ckuus3.c:1287:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab srvtab[] = { ^ ckuus3.c:1287:33: note: (near initialization for 'srvtab') ckuus3.c:1299:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sleeptab[] = { /* SET SLEEP table */ ^ ckuus3.c:1299:35: note: (near initialization for 'sleeptab') ckuus3.c:1303:32: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tstab[] = { /* SET TRANSFER/XFER table */ ^ ckuus3.c:1303:32: note: (near initialization for 'tstab') ckuus3.c:1338:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab rtstab[] = { /* REMOTE SET TRANSFER/XFER table */ ^ ckuus3.c:1338:33: note: (near initialization for 'rtstab') ckuus3.c:1346:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab xfrmtab[] = { /* TRANSFER MODE table */ ^ ckuus3.c:1346:27: note: (near initialization for 'xfrmtab') ckuus3.c:1374:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab lstab[] = { ^ ckuus3.c:1374:25: note: (near initialization for 'lstab') ckuus3.c:1396:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab setauth[] = { ^ ckuus3.c:1396:34: note: (near initialization for 'setauth') ckuus3.c:1526:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab ssltab[] = { ^ ckuus3.c:1526:33: note: (near initialization for 'ssltab') ckuus3.c:1549:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sslvertab[] = { ^ ckuus3.c:1549:36: note: (near initialization for 'sslvertab') ckuus3.c:1593:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnnegtab[] = { /* TELNET NEGOTIATION table */ ^ ckuus3.c:1593:35: note: (near initialization for 'tnnegtab') ckuus3.c:1608:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab typkwd[] = { ^ ckuus3.c:1608:33: note: (near initialization for 'typkwd') ckuus3.c:1612:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnenctab[] = { /* TELNET ENCRYPTION table */ ^ ckuus3.c:1612:35: note: (near initialization for 'tnenctab') ckuus3.c:1631:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnfwdxtab[] = { /* TELNET FORWARD-X table */ ^ ckuus3.c:1631:36: note: (near initialization for 'tnfwdxtab') ckuus3.c:1638:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnbugtab[] = { /* TELNET BUG table */ ^ ckuus3.c:1638:35: note: (near initialization for 'tnbugtab') ckuus3.c:1647:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnenvtab[] = { /* TELNET ENVIRONMENT table */ ^ ckuus3.c:1647:35: note: (near initialization for 'tnenvtab') ckuus3.c:1664:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnauthtab[] = { /* TELNET AUTHENTICATION table */ ^ ckuus3.c:1664:36: note: (near initialization for 'tnauthtab') ckuus3.c:1682:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab autyptab[] = { /* TELNET AUTHENTICATION TYPE table */ ^ ckuus3.c:1682:28: note: (near initialization for 'autyptab') ckuus3.c:1708:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab auhowtab[] = { /* TELNET AUTHENTICATION HOW table */ ^ ckuus3.c:1708:28: note: (near initialization for 'auhowtab') ckuus3.c:1716:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab auenctab[] = { /* TELNET AUTHENTICATION ENCRYPT table */ ^ ckuus3.c:1716:28: note: (near initialization for 'auenctab') ckuus3.c:1730:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tn_nlmtab[] = { /* TELNET NEWLINE-MODE table */ ^ ckuus3.c:1730:36: note: (near initialization for 'tn_nlmtab') ckuus3.c:1739:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnlmtab[] = { /* TELNET NEWLINE-MODE table */ ^ ckuus3.c:1739:34: note: (near initialization for 'tnlmtab') ckuus3.c:1750:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab tntab[] = { ^ ckuus3.c:1750:25: note: (near initialization for 'tntab') ckuus3.c:1807:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnopttab[] = { ^ ckuus3.c:1807:28: note: (near initialization for 'tnopttab') ckuus3.c:1880:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnoptsw[] = { ^ ckuus3.c:1880:27: note: (near initialization for 'tnoptsw') ckuus3.c:1887:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ftrtab[] = { /* Feature table */ ^ ckuus3.c:1887:26: note: (near initialization for 'ftrtab') ckuus3.c:2151:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab desttab[] = { /* SET DESTINATION */ ^ ckuus3.c:2151:27: note: (near initialization for 'desttab') ckuus3.c:2472:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q0yesno[] = { /* Yes/No/Quit keyword table */ ^ ckuus3.c:2472:34: note: (near initialization for 'q0yesno') ckuus3.c:2479:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q1yesno[] = { /* Yes/No/Quit keyword table */ ^ ckuus3.c:2479:34: note: (near initialization for 'q1yesno') ckuus3.c:2487:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q2yesno[] = { /* Yes/No/Quit keyword table */ ^ ckuus3.c:2487:34: note: (near initialization for 'q2yesno') ckuus3.c:2495:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q3yesno[] = { /* Yes/No/Quit keyword table */ ^ ckuus3.c:2495:34: note: (near initialization for 'q3yesno') ckuus3.c: In function 'uq_ok': ckuus3.c:2638:12: warning: unused variable 'text' [-Wunused-variable] char * text=NULL; ^ ckuus3.c:2637:13: warning: unused variable 'len' [-Wunused-variable] int rc, len; ^ ckuus3.c:2637:9: warning: unused variable 'rc' [-Wunused-variable] int rc, len; ^ ckuus3.c: In function 'uq_txt': ckuus3.c:2743:9: warning: unused variable 'rc' [-Wunused-variable] int rc; ^ ckuus3.c: In function 'uq_mtxt': ckuus3.c:2810:12: warning: unused variable 'rc' [-Wunused-variable] int i, rc; ^ ckuus3.c: At top level: ckuus3.c:3032:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab uchmodsw[] = { ^ ckuus3.c:3032:35: note: (near initialization for 'uchmodsw') ckuus3.c: In function 'douchmod': ckuus3.c:3050:38: warning: unused variable 'diractive' [-Wunused-variable] extern int recursive, nscanfile, diractive; ^ ckuus3.c: At top level: ckuus3.c:3283:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab sexptab[] = { ^ ckuus3.c:3283:27: note: (near initialization for 'sexptab') ckuus3.c:3358:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sexpops[] = { /* Built-in operators */ ^ ckuus3.c:3358:34: note: (near initialization for 'sexpops') ckuus3.c:3428:37: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sexpconsts[] = { /* Built-in constants */ ^ ckuus3.c:3428:37: note: (near initialization for 'sexpconsts') ckuus3.c: In function 'dosexp': ckuus3.c:3896:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] float r; ^ ckuus3.c:4101:17: warning: unused variable 'k' [-Wunused-variable] int k, xx; ^ ckuus3.c:4114:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xx = 0) /* Null or empty arg */ ^ ckuus3.c:4752:3: warning: label 'xxdosexp' defined but not used [-Wunused-label] xxdosexp: ^ ckuus3.c: In function 'dologend': ckuus3.c:4844:13: warning: unused variable 'x' [-Wunused-variable] int x = locus; ^ ckuus3.c: In function 'shomodem': ckuus3.c:6179:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6182:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6185:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6192:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6195:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6198:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6201:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6204:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6207:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6211:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6214:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6217:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6220:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6223:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6227:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6230:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6233:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6236:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6239:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6243:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6247:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6251:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0; ^ ckuus3.c: At top level: ckuus3.c:6849:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab protos[] = { ^ ckuus3.c:6849:26: note: (near initialization for 'protos') ckuus3.c: In function 'dosetssh': ckuus3.c:8210:19: warning: unused variable 'z' [-Wunused-variable] int cx, x, y, z; ^ ckuus3.c:8210:16: warning: unused variable 'y' [-Wunused-variable] int cx, x, y, z; ^ ckuus3.c: In function 'doprm': ckuus3.c:9926:18: warning: unused variable 'n' [-Wunused-variable] int c, n; /* Workers */ ^ ckuus3.c:10419:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) ^ ckuus3.c:10422:19: warning: implicit declaration of function 'ck_tn_enc_start' [-Wimplicit-function-declaration] ck_tn_enc_start(); ^ ckuus3.c:10430:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) ^ ckuus3.c:10433:19: warning: implicit declaration of function 'ck_tn_enc_stop' [-Wimplicit-function-declaration] ck_tn_enc_stop(); ^ ckuus3.c:10388:19: warning: unused variable 'getval' [-Wunused-variable] int getval = 0; ^ ckuus3.c:10387:22: warning: unused variable 'tmp' [-Wunused-variable] int c, tmp = -1; ^ ckuus3.c:10387:19: warning: unused variable 'c' [-Wunused-variable] int c, tmp = -1; ^ ckuus3.c:12206:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] if (x < 0) printf("WARNING: %s does not appear to be writable\n"); ^ ckuus3.c:12548:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) { ^ ckuus3.c:12510:18: warning: unused variable 'p' [-Wunused-variable] char * p = NULL; ^ ckuus3.c:13274:22: warning: unused variable 'cmask' [-Wunused-variable] extern int cmask; ^ ckuus3.c:9008:22: warning: unused variable 'p' [-Wunused-variable] char *s = NULL, *p = NULL; ^ In file included from ckuus3.c:28:0: ckuus3.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuus3.c:1608:22: warning: 'typkwd' defined but not used [-Wunused-variable] static struct keytab typkwd[] = { ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus4.c ckuus4.c: In function 'prescan': ckuus4.c:1843:30: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus4.c:1534:9: warning: unused variable 'z' [-Wunused-variable] int z; ^ ckuus4.c: In function 'xlate': ckuus4.c:3239:15: warning: unused variable 'c2' [-Wunused-variable] int x, c, c2; /* Workers */ ^ ckuus4.c: In function 'shoparc': ckuus4.c:4412:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] && !istncomport() ^ ckuus4.c:4622:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ^ ckuus4.c:4392:9: warning: unused variable 'i' [-Wunused-variable] int i; char *s; ^ ckuus4.c: In function 'shotcp': ckuus4.c:4747:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4749:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4753:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4760:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4771:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4776:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4781:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4789:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4796:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4801:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4804:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shotopt': ckuus4.c:4831:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4865:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4882:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shotel': ckuus4.c:4910:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4935:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4942:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4986:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4947:15: warning: variable 'x' set but not used [-Wunused-but-set-variable] int i,x; ^ ckuus4.c:5020:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5029:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5047:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5049:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5051:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5053:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5055:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5057:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5074:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5077:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5079:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5082:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5084:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5086:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5089:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5092:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5097:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5103:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5108:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shonet': ckuus4.c:5162:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5171:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5180:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5325:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5333:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5337:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5349:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5370:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5419:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5439:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5470:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5472:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5477:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5151:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 4; ^ ckuus4.c: In function 'doshodial': ckuus4.c:5541:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5544:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5551:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5563:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5567:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5570:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5573:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5576:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5586:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5593:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5603:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5606:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5609:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5612:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5615:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5618:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5621:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5630:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5640:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5650:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5657:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5666:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5669:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5672:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c: In function 'shofil': ckuus4.c:5740:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5771:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5778:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5781:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5783:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5786:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5788:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5790:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5793:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5796:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5799:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5811:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5816:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5821:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5841:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5844:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5847:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5850:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5861:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5865:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5879:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5882:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5884:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5889:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5891:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5895:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5897:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5900:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c: In function 'showassoc': ckuus4.c:6244:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6248:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6250:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6260:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c: In function 'dostat': ckuus4.c:6321:23: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!xferstat > 0) { ^ ckuus4.c: In function 'doinput': ckuus4.c:7033:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] int dummy = 0, skip = 0; ^ ckuus4.c:6563:10: warning: unused variable 'ch' [-Wunused-variable] char ch, *xp, *s; ^ ckuus4.c: In function 'fneval': ckuus4.c:8212:28: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* if no macro is active */ ^ ckuus4.c:8238:26: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* Letter for global variable */ ^ ckuus4.c:10292:19: warning: variable 'ap' set but not used [-Wunused-but-set-variable] char ** ap = NULL; ^ ckuus4.c:10502:16: warning: unused variable 's' [-Wunused-variable] char * s, * s1 = NULL, * s2 = NULL; ^ ckuus4.c:11081:16: warning: unused variable 'j' [-Wunused-variable] int i, j, places = 0; ^ ckuus4.c:11865:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) { /* Loop thru arg chars */ ^ ckuus4.c:12054:16: warning: unused variable 'd1' [-Wunused-variable] char * d1, * dp; ^ ckuus4.c:12188:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && s[k] == CR || s[k] == LF) ^ ckuus4.c:12190:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && s[k] == SP || s[k] == HT) ^ ckuus4.c:12178:6: warning: unused variable 'pc' [-Wunused-variable] int pc = 0; /* For nested comments */ ^ ckuus4.c:12177:31: warning: unused variable 'infield' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^ ckuus4.c:12177:20: warning: unused variable 'quote' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^ ckuus4.c:12177:9: warning: unused variable 'state' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^ ckuus4.c:12176:14: warning: unused variable 'c' [-Wunused-variable] char c, * s = bp[0], * s2, * s3, * ap = ""; ^ ckuus4.c:12323:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i, j, k; ^ ckuus4.c:12528:6: warning: unused variable 't' [-Wunused-variable] int t, n; ^ ckuus4.c:12588:20: warning: unused variable 's2' [-Wunused-variable] char *s1, *s2; ^ ckuus4.c:12712:7: warning: unused variable 'buf' [-Wunused-variable] char buf[3]; ^ ckuus4.c:12763:7: warning: unused variable 'buf' [-Wunused-variable] char buf[3]; ^ ckuus4.c: In function 'nvlook': ckuus4.c:14196:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ^ ckuus4.c:14239:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ck_tn_auth_valid() == AUTH_VALID && ^ ckuus4.c:14416:18: warning: unused variable 's' [-Wunused-variable] char * s = unm_mod; ^ ckuus4.c:14415:15: warning: unused variable 'y' [-Wunused-variable] int y = VVBUFL - 1; ^ ckuus4.c: In function 'zzstring': ckuus4.c:15235:29: warning: array subscript has type 'char' [-Wchar-subscripts] vp = g_var[vb]; /* if no macro is active */ ^ ckuus4.c:15256:27: warning: array subscript has type 'char' [-Wchar-subscripts] vp = g_var[vb]; /* Letter for global variable */ ^ In file included from ckuus4.c:23:0: ckuus4.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuus4.c: In function 'zzstring': ckuus4.c:15275:9: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] if (q) free(q); ^ ckuus4.c:11813:20: warning: 'seplen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (z < seplen) ^ ckuus4.c:11652:51: note: 'seplen' was declared here int i, x, y, z, flag, flag2, hi, lo, max, seplen, grouping = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus5.c ckuus5.c: In function 'doinit': ckuus5.c:1484:12: warning: unused variable 'ckrooterr' [-Wunused-variable] extern int ckrooterr; ^ ckuus5.c: In function 'parser': ckuus5.c:3296:14: warning: unused variable 'eol' [-Wunused-variable] char * eol = ""; ^ ckuus5.c: In function 'vardef': ckuus5.c:3518:31: warning: array subscript has type 'char' [-Wchar-subscripts] return(g_var[c]); /* if no macro is active */ ^ ckuus5.c:3523:29: warning: array subscript has type 'char' [-Wchar-subscripts] return(g_var[c]); /* Letter for global variable */ ^ ckuus5.c: In function 'dooutput': ckuus5.c:3646:16: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, xx, y, quote; /* Workers */ ^ ckuus5.c: In function 'addmac': ckuus5.c:4450:22: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = p; /* No, it's top level one */ ^ ckuus5.c:4459:18: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = p; /* Put pointer in global-var table */ ^ ckuus5.c:4383:26: warning: unused variable 's' [-Wunused-variable] char * p = NULL, c, *s; ^ ckuus5.c: In function 'delmac': ckuus5.c:4678:34: warning: array subscript has type 'char' [-Wchar-subscripts] if (p) if (p != g_var[c]) { ^ ckuus5.c:4682:22: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus5.c:4683:18: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = NULL; /* Zero the table entry */ ^ ckuus5.c:4686:34: warning: array subscript has type 'char' [-Wchar-subscripts] if (p) if (p != g_var[c]) { ^ ckuus5.c:4694:22: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* Get pointer from global-var table */ ^ ckuus5.c:4695:18: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = NULL; /* Zero the table entry */ ^ ckuus5.c: In function 'shotrm': ckuus5.c:5806:30: warning: unused variable 'tt_idleact' [-Wunused-variable] extern int tt_idlelimit, tt_idleact; ^ ckuus5.c:5805:16: warning: unused variable 'tt_idlesnd_tmo' [-Wunused-variable] extern int tt_idlesnd_tmo; ^ ckuus5.c:5804:19: warning: unused variable 'tt_idlesnd_str' [-Wunused-variable] extern char * tt_idlesnd_str; ^ ckuus5.c: In function 'doshow': ckuus5.c:6855:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (x != SHBUI && x != SHARR) ^ ckuus5.c:7207:15: warning: unused variable 't' [-Wunused-variable] int t; ^ ckuus5.c:7206:35: warning: unused variable 'tmpbufp' [-Wunused-variable] char * s, * s1, * s2, * tmpbufp; ^ ckuus5.c:7206:18: warning: unused variable 's' [-Wunused-variable] char * s, * s1, * s2, * tmpbufp; ^ ckuus5.c:8104:18: warning: unused variable 'myhome' [-Wunused-variable] extern char * myhome; ^ ckuus5.c:6602:12: warning: unused variable 'z' [-Wunused-variable] int y, z, i; long zz; ^ ckuus5.c: In function 'dclarray': ckuus5.c:8826:19: warning: array subscript has type 'char' [-Wchar-subscripts] if ((p = a_ptr[a]) != NULL) { /* Delete old array of same name */ ^ ckuus5.c:8827:19: warning: array subscript has type 'char' [-Wchar-subscripts] if (a_link[a] > -1) { /* Is it a link? */ ^ ckuus5.c:8829:22: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = (char **) NULL; /* clear all the info. */ ^ ckuus5.c:8830:22: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = 0; ^ ckuus5.c:8831:23: warning: array subscript has type 'char' [-Wchar-subscripts] a_link[a] = -1; ^ ckuus5.c:8834:23: warning: array subscript has type 'char' [-Wchar-subscripts] a = a_link[a]; /* Switch to linked-to array */ ^ ckuus5.c:8836:19: warning: array subscript has type 'char' [-Wchar-subscripts] n2 = a_dim[a]; /* Real array */ ^ ckuus5.c:8843:27: warning: array subscript has type 'char' [-Wchar-subscripts] free((char *)a_ptr[a]); /* Then the element list */ ^ ckuus5.c:8853:14: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = (char **) NULL; /* Remove pointer to element list */ ^ ckuus5.c:8854:14: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = 0; /* Set dimension at zero. */ ^ ckuus5.c:8855:15: warning: array subscript has type 'char' [-Wchar-subscripts] a_link[a] = -1; /* Unset link word */ ^ ckuus5.c:8861:10: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = p; /* Save pointer to member list */ ^ ckuus5.c:8862:10: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = n; /* Save dimension */ ^ ckuus5.c:8812:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] char c, **p; int i, n2, rc; ^ ckuus5.c: In function 'boundspair': ckuus5.c:8954:12: warning: unused variable 'x' [-Wunused-variable] int i, x, y, range[2], bc = 0; ^ ckuus5.c: In function 'arraybounds': ckuus5.c:9055:12: warning: unused variable 'tmp' [-Wunused-variable] char * tmp = NULL; ^ ckuus5.c:9054:31: warning: unused variable 'q' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:9054:26: warning: unused variable 'p' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:9054:14: warning: unused variable 'buf' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:9053:18: warning: unused variable 'range' [-Wunused-variable] int i, x, y, range[2]; ^ ckuus5.c:9053:9: warning: unused variable 'i' [-Wunused-variable] int i, x, y, range[2]; ^ ckuus5.c: In function 'xwords': ckuus5.c:9651:13: warning: unused variable 'n' [-Wunused-variable] int n; ^ In file included from ckuus5.c:28:0: ckuus5.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuus5.c:2547:1: warning: 'cmderr' defined but not used [-Wunused-function] cmderr() { ^ ckuus5.c: In function 'evalmacroarg': ckuus5.c:4371:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus6.c ckuus6.c: In function 'doask': ckuus6.c:918:9: warning: variable 'guiflg' set but not used [-Wunused-but-set-variable] int guiflg = 0; ^ ckuus6.c:917:9: warning: variable 'popupflg' set but not used [-Wunused-but-set-variable] int popupflg = 0; ^ ckuus6.c: In function 'xxundef': ckuus6.c:1517:24: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus6.c:1523:24: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus6.c: In function 'ludial': ckuus6.c:2534:25: warning: unused variable 'i' [-Wunused-variable] int dd, n1, n2, n3, i, j, t; /* Workers */ ^ ckuus6.c: In function 'dodial': ckuus6.c:3130:24: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus6.c:3416:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (!success) ^ ckuus6.c: In function 'dotype': ckuus6.c:3897:12: warning: unused variable 'c' [-Wunused-variable] int x, c, n, i, j, k = 0; ^ ckuus6.c: In function 'domydir': ckuus6.c:6058:12: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf("%s: Skipped (not a text file)\n"); ^ ckuus6.c:6286:36: warning: too many arguments for format [-Wformat-extra-args] printf("?Error preserving original modtime: %s\n", ^ ckuus6.c:6298:36: warning: too many arguments for format [-Wformat-extra-args] printf("?Modtime error on backup file: %s\n", ^ ckuus6.c:6047:15: warning: unused variable 'c2' [-Wunused-variable] char c1, c2; /* Char for quick compare */ ^ ckuus6.c:6047:11: warning: unused variable 'c1' [-Wunused-variable] char c1, c2; /* Char for quick compare */ ^ ckuus6.c:6044:22: warning: unused variable 'y' [-Wunused-variable] int i, j, k, x, y; /* Workers */ ^ ckuus6.c:6044:10: warning: unused variable 'i' [-Wunused-variable] int i, j, k, x, y; /* Workers */ ^ ckuus6.c:6037:13: warning: unused variable 'tdp' [-Wunused-variable] char * tdp = tmpfile; /* Temporary directory path */ ^ ckuus6.c:6465:17: warning: unused variable 'i' [-Wunused-variable] int i, x, y; ^ ckuus6.c: In function 'dodel': ckuus6.c:7570:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:7579:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:7590:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:7600:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:7610:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:7617:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:7452:17: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus6.c:6963:12: warning: unused variable 'j' [-Wunused-variable] int i, j, k, x; ^ ckuus6.c: In function 'dofor': ckuus6.c:7825:22: warning: unused variable 'loopvar2' [-Wunused-variable] char loopvar[8], loopvar2[8]; /* \%x-style loop variable */ ^ ckuus6.c:7825:10: warning: unused variable 'loopvar' [-Wunused-variable] char loopvar[8], loopvar2[8]; /* \%x-style loop variable */ ^ ckuus6.c: In function 'docopy': ckuus6.c:8834:10: warning: unused variable 'skip' [-Wunused-variable] int i, skip = 0; ^ ckuus6.c:8595:9: warning: unused variable 'i' [-Wunused-variable] int i, x, listing = 0, nolist = 0, havename = 0, getval; ^ ckuus6.c: In function 'renameone': ckuus6.c:9501:11: warning: unused variable 'c' [-Wunused-variable] char c; ^ ckuus6.c: In function 'dorenam': ckuus6.c:9809:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((x = cmfld("Character or string to replace spaces with", ^ ckuus6.c:9672:9: warning: unused variable 'i' [-Wunused-variable] int i, x, z, fn, listing = 0, havename = 0, wild = 0, rc = 1, noarg = 0; ^ ckuus6.c:9667:26: warning: unused variable 'fcsinfo' [-Wunused-variable] extern struct csinfo fcsinfo[]; ^ ckuus6.c: In function 'dogta': ckuus6.c:11193:39: warning: array subscript has type 'char' [-Wchar-subscripts] if (maclvl == 1) p = g_var[c]; /* If at level 1 use globals 0..9 */ ^ ckuus6.c:11162:12: warning: unused variable 'n' [-Wunused-variable] int i, n; ^ ckuus6.c: In function 'dogoto': ckuus6.c:11262:9: warning: unused variable 'i' [-Wunused-variable] int i, j, x, y, z, bc; ^ ckuus6.c: In function 'boolexp': ckuus6.c:11702:14: warning: too many arguments for format [-Wformat-extra-args] printf("?Not an IF condition, macro name or number:\n", ^ ckuus6.c:12536:8: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ ckuus6.c:12027:7: warning: label 'lexical' defined but not used [-Wunused-label] lexical: ^ ckuus6.c: In function 'doif': ckuus6.c:12629:11: warning: unused variable 'q' [-Wunused-variable] char *q; ^ In file included from ckuus6.c:22:0: ckuus6.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuus6.c:659:22: warning: 'doymdir' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int doymdir,(int)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ In file included from ckuus6.c:22:0: ckuus6.c: In function 'dncvt': ckcdeb.h:5151:16: warning: 'kx' may be used uninitialized in this function [-Wmaybe-uninitialized] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckuus6.c:2317:22: note: 'kx' was declared here int xx=0,kx; /* Begin 1 Dec 2001... */ ^ ckuus6.c: In function 'dotype': ckuus6.c:4305:5: warning: 'oldsig' may be used uninitialized in this function [-Wmaybe-uninitialized] signal(SIGINT,oldsig); /* Put old signal action back. */ ^ ckuus6.c: In function 'domydir': ckuus6.c:6054:23: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] case FT_TEXT: k++; break; ^ In file included from ckuus6.c:22:0: ckuus6.c: In function 'docopy': ckcdeb.h:5151:2: warning: 'n2' may be used uninitialized in this function [-Wmaybe-uninitialized] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckuus6.c:8833:16: note: 'n2' was declared here char * n1, * n2; ^ In file included from ckuus6.c:22:0: ckuus6.c: In function 'shorename': ckcdeb.h:1405:16: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] #define printf ckxprintf ^ ckuus6.c:9243:12: note: 's' was declared here char * s; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus7.c ckuus7.c: In function 'dopurge': ckuus7.c:3018:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++lines > cmd_rows - 3) ^ ckuus7.c: In function 'doputenv': ckuus7.c:3833:12: warning: unused variable 's' [-Wunused-variable] char * s, * t = tmpbuf; /* Create or alter environment var */ ^ ckuus7.c: In function 'getiact': ckuus7.c:3964:28: warning: unused variable 't' [-Wunused-variable] char * p, * q, * t; ^ ckuus7.c: In function 'setlclcharset': ckuus7.c:4015:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus7.c: In function 'setremcharset': ckuus7.c:4030:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus7.c: In function 'settrm': ckuus7.c:4209:9: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ ckuus7.c: In function 'cx_net': ckuus7.c:9382:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (line[0] == '*' && ^ ckuus7.c:9491:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (ttnproto == NP_TELNET || ttnproto == NP_KERMIT) && ^ ckuus7.c:9668:7: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuus7.c:9842:3: warning: label 'xcx_net' defined but not used [-Wunused-label] xcx_net: ^ ckuus7.c:8844:40: warning: unused variable 'g_pcpt' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^ ckuus7.c:8844:32: warning: unused variable 'g_pflg' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^ ckuus7.c:8843:28: warning: unused variable 'g_pswd' [-Wunused-variable] extern char pwbuf[], * g_pswd; ^ ckuus7.c: In function 'cx_serial': ckuus7.c:10095:9: warning: unused variable 'x' [-Wunused-variable] int x; /* Find a safe, long buffer */ ^ ckuus7.c:10133:3: warning: label 'xcx_serial' defined but not used [-Wunused-label] xcx_serial: ^ ckuus7.c:9942:15: warning: unused variable 'x' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c:9942:12: warning: unused variable 'n' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c:9942:9: warning: unused variable 'i' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c: In function 'setlin': ckuus7.c:10239:9: warning: variable 'encrypt' set but not used [-Wunused-but-set-variable] int encrypt = 0; /* Encrypted? */ ^ ckuus7.c:10233:9: warning: variable 'wild' set but not used [-Wunused-but-set-variable] int wild = 0; /* Filespec has wildcards */ ^ ckuus7.c:10231:9: warning: variable 'haveuser' set but not used [-Wunused-but-set-variable] int haveuser = 0; ^ ckuus7.c:10230:12: warning: unused variable 'i' [-Wunused-variable] int c, i, haveswitch = 0; ^ ckuus7.c:10229:9: warning: unused variable '_local' [-Wunused-variable] int _local = -1; ^ ckuus7.c: In function 'z_in': ckuus7.c:11826:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus7.c:11824:12: warning: unused variable 'j' [-Wunused-variable] int i, j, x; ^ ckuus7.c: In function 'z_seek': ckuus7.c:11976:9: warning: unused variable 'i' [-Wunused-variable] int i, x = 0, rc; ^ ckuus7.c: In function 'z_line': ckuus7.c:12006:9: warning: unused variable 'i' [-Wunused-variable] int i, len, x = 0; ^ ckuus7.c: In function 'z_count': ckuus7.c:12199:9: warning: unused variable 'i' [-Wunused-variable] int i, x; ^ ckuus7.c: In function 'dofile': ckuus7.c:12732:24: warning: unused variable 'k' [-Wunused-variable] int i, k, xx; ^ ckuus7.c:13056:20: warning: unused variable 'ispat' [-Wunused-variable] int flag = 0, ispat = 0, matchresult = 0; ^ ckuus7.c: In function 'savkeys': ckuus7.c:13230:23: warning: unused variable 'k' [-Wunused-variable] int savfil, i, j, k; ^ ckuus7.c: In function 'readpass': ckuus7.c:13837:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuus7.c: In function 'sho_iks': ckuus7.c:14112:34: warning: unused variable 'cdmsgstr' [-Wunused-variable] extern char * cdmsgfile[], * cdmsgstr, *kermrc; ^ ckuus7.c:14111:35: warning: unused variable 'iksdcf' [-Wunused-variable] extern int srvcdmsg, success, iksdcf, noinit, arg_x; ^ ckuus7.c:14091:16: warning: unused variable 'ckxperms' [-Wunused-variable] extern int ckxperms; ^ ckuus7.c: In function 'sho_auth': ckuus7.c:14204:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14207:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14267:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14276:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14279:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14386:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14394:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14397:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14402:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14405:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14408:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14411:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14414:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14417:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14420:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14423:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14426:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14429:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14432:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14435:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14438:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14455:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus7.c:14460:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14462:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14464:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14469:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14471:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14473:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14480:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14482:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14485:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14489:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14498:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14500:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14503:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14507:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14181:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus7.c:14180:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ In file included from ckuus7.c:26:0: ckuus7.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuus7.c: In function 'z_close': ckuus7.c:11713:8: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if (x == EOF) /* On failure */ ^ ckuus7.c: In function 'dofile': ckuus7.c:13037:19: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized] z += pos; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuusx.c ckuusx.c: In function 'scanfile': ckuusx.c:1562:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] count > 9 && buf[8] == SP && buf[9] == '\015') { ^ ckuusx.c: In function 'scanstring': ckuusx.c:2003:9: warning: variable 'pctzero' set but not used [-Wunused-but-set-variable] int pctzero = 0; /* Percentage of 0 bytes */ ^ ckuusx.c:2002:9: warning: unused variable 'runzero' [-Wunused-variable] int runzero = 0; /* Run of 0 bytes */ ^ ckuusx.c:1995:9: warning: unused variable 'readsize' [-Wunused-variable] int readsize = 0; /* How much to read */ ^ ckuusx.c:1987:9: warning: unused variable 'pv' [-Wunused-variable] int pv = -1; /* Pattern-match value */ ^ ckuusx.c:1985:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, val = -1, count = 0; /* Workers */ ^ ckuusx.c: In function 'ckhost': ckuusx.c:2841:9: warning: unused variable 'havefull' [-Wunused-variable] int havefull = 0; ^ ckuusx.c: In function 'chkint': ckuusx.c:3805:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (what & W_SEND) ^ ckuusx.c: In function 'dodebug': ckuusx.c:5373:15: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int x, flag = 0; ^ ckuusx.c: In function 'fxdinit': ckuusx.c:5975:17: warning: implicit declaration of function 'tgetent' [-Wimplicit-function-declaration] x = tgetent(trmbuf,s); ^ ckuusx.c:5914:12: warning: unused variable 'dummy' [-Wunused-variable] int x, dummy; ^ ckuusx.c: In function 'ck_termset': ckuusx.c:6476:13: warning: implicit declaration of function 'tgetstr' [-Wimplicit-function-declaration] if (tgetstr("cl", &bp)) { /* Get clear-screen code */ ^ ckuusx.c: In function 'ck_curpos': ckuusx.c:6555:9: warning: implicit declaration of function 'tputs' [-Wimplicit-function-declaration] tputs( ^ ckuusx.c:6559:15: warning: implicit declaration of function 'tgoto' [-Wimplicit-function-declaration] tgoto(cur_cm,col-1,row-1),1,fn); ^ ckuusx.c: In function 'screenc': ckuusx.c:7359:20: warning: implicit declaration of function 'ck_tn_encrypting' [-Wimplicit-function-declaration] || ck_tn_encrypting() && ck_tn_decrypting() ^ ckuusx.c:7359:42: warning: implicit declaration of function 'ck_tn_decrypting' [-Wimplicit-function-declaration] || ck_tn_encrypting() && ck_tn_decrypting() ^ ckuusx.c:7359:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ^ ckuusx.c:7098:10: warning: variable 'cps' set but not used [-Wunused-but-set-variable] long cps = 0L; ^ ckuusx.c:7090:16: warning: unused variable 'ttnproto' [-Wunused-variable] extern int ttnproto; ^ ckuusx.c: In function 'getslot': ckuusx.c:9497:24: warning: unused variable 's' [-Wunused-variable] char pidbuf[64], * s; ^ In file included from ckuusx.c:26:0: ckuusx.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuusx.c: In function 'getslot': ckuusx.c:9525:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfd,idstring,(int)strlen(idstring)); ^ ckuusx.c:9619:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(dbfp),(CK_OFF_T)i); ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuusy.c ckuusy.c:201:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab urltab[] = { ^ ckuusy.c:201:26: note: (near initialization for 'urltab') ckuusy.c: In function 'urlparse': ckuusy.c:253:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuusy.c: In function 'cmdlin': ckuusy.c:804:13: warning: unused variable 'xx' [-Wunused-variable] int xx; ^ ckuusy.c: In function 'doxarg': ckuusy.c:2803:22: warning: unused variable 'nttyp' [-Wunused-variable] extern int nttyp; ^ ckuusy.c:2802:32: warning: unused variable 'ttyptab' [-Wunused-variable] extern struct keytab ttyptab[]; ^ In file included from ckuusy.c:23:0: ckuusy.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckuusy.c:160:12: warning: 'have_cx' defined but not used [-Wunused-variable] static int have_cx = 0; /* Have connection */ ^ ckuusy.c:219:13: warning: 'urlbuf' defined but not used [-Wunused-variable] static char urlbuf[URLBUFLEN]; ^ ckuusy.c: In function 'cmdlin': ckuusy.c:896:14: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!rdigits(q)) ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckwart.c ckwart.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) int argc; char **argv; { ^ gcc -o wart ckwart.o -L/usr/lib64 -lssl -lcrypto -lpam -ldl -lz -lutil -lncurses -lresolv -lcrypt -lm ./wart ckcpro.w ckcpro.c 16 states, 74 actions gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcpro.c ckcpro.c: In function 'wart': ckcpro.c:1525:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (server && !ENABLED(en_cwd) || /* if DISABLE CD */ ^ ckcpro.c:1507:16: warning: unused variable 'rsn' [-Wunused-variable] extern int rsn; ^ ckcpro.c: In function 'rcv_firstdata': ckcpro.c:2395:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmp = (char *)malloc(n)) { ^ ckcpro.c:2409:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmp = (char *)malloc(n)) { ^ ckcpro.c: In function 'rcv_shortreply': ckcpro.c:2513:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (*rdatap) /* add a line terminator */ ^ ckcpro.c: In function 'srv_login': ckcpro.c:2777:42: warning: variable 'f3' set but not used [-Wunused-but-set-variable] char f1[LOGINLEN+1], f2[LOGINLEN+1], f3[LOGINLEN+1]; ^ ckcpro.c: In function 'rcv_s_pkt': ckcpro.c:2979:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ^ ckcpro.c: In function 'proto': ckcpro.c:3184:13: warning: implicit declaration of function 'ck_tn_enc_stop' [-Wimplicit-function-declaration] ck_tn_enc_stop(); ^ ckcpro.c:3202:13: warning: implicit declaration of function 'ck_tn_enc_start' [-Wimplicit-function-declaration] ck_tn_enc_start(); ^ ckcpro.c:3057:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcpro.c: In function 'xxproto': ckcpro.c:3473:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ^ ckcpro.c: In function 'sgetinit': ckcpro.c:3678:9: warning: unused variable 'i' [-Wunused-variable] int i, n, done = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcfns.c ckcfns.c: In function 'rcvfil': ckcfns.c:3783:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !stdouf ) && /* Not copying to standard output? */ ^ ckcfns.c:3394:20: warning: unused variable 'y' [-Wunused-variable] int dirflg, x, y; ^ ckcfns.c:3394:17: warning: unused variable 'x' [-Wunused-variable] int dirflg, x, y; ^ ckcfns.c:3387:12: warning: unused variable 'dispo' [-Wunused-variable] char * dispo; ^ ckcfns.c: In function 'spar': ckcfns.c:5323:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] && !istncomport() ^ ckcfns.c: In function 'nxthlp': ckcfns.c:5891:19: warning: unused variable 'ckxsys' [-Wunused-variable] extern char * ckxsys; ^ ckcfns.c: In function 'snddir': ckcfns.c:6416:9: warning: unused variable 't' [-Wunused-variable] int t = 0, rc = 0; ^ ckcfns.c: In function 'remset': ckcfns.c:6854:14: warning: unused variable 'i' [-Wunused-variable] int len, i, x, y; ^ In file included from ckcfns.c:26:0: ckcfns.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcfn2.c ckcfn2.c: In function 'chkspkt': ckcfn2.c:2661:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcfn2.c: In function 'rpack': ckcfn2.c:2873:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (nakstate) /* j == -1 is a read timeout */ ^ In file included from ckcfn2.c:20:0: ckcfn2.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcfn3.c ckcfn3.c: In function 'dofast': ckcfn3.c:346:30: warning: unused variable 'spmax' [-Wunused-variable] rpsiz, urpsiz, spsizr, spmax, wslotr; ^ ckcfn3.c:346:22: warning: unused variable 'spsizr' [-Wunused-variable] rpsiz, urpsiz, spsizr, spmax, wslotr; ^ ckcfn3.c:345:16: warning: unused variable 'spsizf' [-Wunused-variable] extern int spsizf, /* For bug in IRIX Telnet server */ ^ ckcfn3.c: In function 'getreason': ckcfn3.c:1365:10: warning: array subscript has type 'char' [-Wchar-subscripts] reason[c] : ^ ckcfn3.c: In function 'gattr': ckcfn3.c:1477:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) { /* Get attribute tag */ ^ ckcfn3.c: In function 'opena': ckcfn3.c:2117:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ ^ ckcfn3.c:2173:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (*rf_err) ^ In file included from ckcfn3.c:20:0: ckcfn3.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuxla.c ckuxla.c:159:27: warning: missing braces around initializer [-Wmissing-braces] struct csinfo tcsinfo[] = { ^ ckuxla.c:159:27: note: (near initialization for 'tcsinfo') ckuxla.c:188:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab tcstab[] = { /* Keyword table for */ ^ ckuxla.c:188:26: note: (near initialization for 'tcstab') ckuxla.c:253:27: warning: missing braces around initializer [-Wmissing-braces] struct csinfo fcsinfo[] = { /* File character set information... */ ^ ckuxla.c:253:27: note: (near initialization for 'fcsinfo') ckuxla.c:315:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab fcstab[] = { /* Keyword table for 'set file character-set' */ ^ ckuxla.c:315:26: note: (near initialization for 'fcstab') ckuxla.c:507:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab ttcstab[] = { /* Keyword table for SET TERMINAL CHARACTER-SET */ ^ ckuxla.c:507:27: note: (near initialization for 'ttcstab') ckuxla.c:718:27: warning: missing braces around initializer [-Wmissing-braces] struct langinfo langs[] = { ^ ckuxla.c:718:27: note: (near initialization for 'langs') ckuxla.c:757:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab lngtab[] = { ^ ckuxla.c:757:26: note: (near initialization for 'lngtab') ckuxla.c:6073:1: warning: missing braces around initializer [-Wmissing-braces] { ^ ckuxla.c:6073:1: note: (near initialization for 'xlr') ckuxla.c:6638:1: warning: missing braces around initializer [-Wmissing-braces] { ^ ckuxla.c:6638:1: note: (near initialization for 'xls') In file included from ckuxla.c:3:0: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckucns.c ckucns.c: In function 'conect': ckucns.c:1275:10: warning: implicit declaration of function 'ck_tn_encrypting' [-Wimplicit-function-declaration] if (ck_tn_encrypting() && ck_tn_decrypting()) ^ ckucns.c:1275:32: warning: implicit declaration of function 'ck_tn_decrypting' [-Wimplicit-function-declaration] if (ck_tn_encrypting() && ck_tn_decrypting()) ^ ckucns.c:1274:29: warning: unused variable 'u_encrypt' [-Wunused-variable] extern int me_encrypt, u_encrypt; ^ ckucns.c:1274:17: warning: unused variable 'me_encrypt' [-Wunused-variable] extern int me_encrypt, u_encrypt; ^ In file included from ckucns.c:23:0: ckucns.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckutio.c ckutio.c: In function 'sysinit': ckutio.c:2291:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("LOCATION")) ^ ckutio.c:2292:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tn_loc = (char *)malloc((int)strlen(p)+1)) ^ ckutio.c: In function 'tthang': ckutio.c:3859:20: warning: unused variable 'ttc_save' [-Wunused-variable] unsigned short ttc_save; ^ ckutio.c:3858:9: warning: unused variable 'flags' [-Wunused-variable] int flags; /* fcntl flags */ ^ ckutio.c:3829:9: warning: unused variable 'x' [-Wunused-variable] int x = 0; /* Sometimes used as return code. */ ^ ckutio.c: In function 'ttres': ckutio.c:4522:17: warning: unused variable 'tcp_nodelay' [-Wunused-variable] extern int tcp_nodelay; /* Just put this back if necessary */ ^ ckutio.c: In function 'ttlock': ckutio.c:4981:9: warning: unused variable 'x' [-Wunused-variable] int x, n; ^ ckutio.c: In function 'ttvt': ckutio.c:6988:9: warning: variable 's' set but not used [-Wunused-but-set-variable] int s, s2, x; ^ ckutio.c: In function 'ttgspd': ckutio.c:7985:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckutio.c: In function 'myfillbuf': ckutio.c:8570:8: warning: unused variable 'error' [-Wunused-variable] int error, n = 0; ^ ckutio.c: In function 'ttflux': ckutio.c:9011:19: warning: variable 'x' set but not used [-Wunused-but-set-variable] int dotnopts, x; ^ ckutio.c: In function 'ttflui': ckutio.c:9045:9: warning: variable 'dotnopts' set but not used [-Wunused-but-set-variable] int dotnopts; ^ ckutio.c:9043:9: warning: unused variable 'n' [-Wunused-variable] int n, fd; ^ ckutio.c: In function 'ttxin': ckutio.c:10222:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int fd; ^ ckutio.c: In function 'ttol': ckutio.c:10434:7: warning: unused variable 'error' [-Wunused-variable] int error; ^ ckutio.c: In function 'ttoc': ckutio.c:10620:12: warning: unused variable 'error' [-Wunused-variable] int error; ^ ckutio.c: In function 'ttinl': ckutio.c:10750:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int fd; ^ ckutio.c: In function 'ttinc': ckutio.c:11151:16: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int n = 0, fd; ^ ckutio.c: In function 'msleep': ckutio.c:11577:9: warning: variable 't1' set but not used [-Wunused-but-set-variable] int t1, x; ^ ckutio.c: In function 'concb': ckutio.c:12190:12: warning: unused variable 'y' [-Wunused-variable] int x, y = 0; ^ ckutio.c: In function 'coninc': ckutio.c:12878:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (errno == EINTR) /* Read interrupted. */ ^ ckutio.c: In function 'tt_is_secure': ckutio.c:14087:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ^ ckutio.c: In function 'pty_chk': ckutio.c:14419:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, n = 0; ^ ckutio.c: In function 'pty_get_status': ckutio.c:14443:11: warning: unused variable 'w' [-Wunused-variable] PID_T w; ^ ckutio.c: In function 'ttptycmd': ckutio.c:14668:9: warning: implicit declaration of function 'openpty' [-Wimplicit-function-declaration] if (openpty(&masterfd, &slavefd, NULL, NULL, NULL) == -1) { ^ ckutio.c:14583:18: warning: unused variable 't' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c:14583:15: warning: unused variable 'm' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c:14583:9: warning: unused variable 'c' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c: In function 'locale_dayname': ckutio.c:15489:10: warning: unused variable 'buf' [-Wunused-variable] char buf[20]; ^ ckutio.c:15488:12: warning: unused variable 'date' [-Wunused-variable] char * date; ^ ckutio.c: In function 'locale_monthname': ckutio.c:15511:10: warning: unused variable 'mbuf' [-Wunused-variable] char mbuf[4]; ^ ckutio.c:15510:10: warning: unused variable 'buf' [-Wunused-variable] char buf[20]; ^ ckutio.c:15509:12: warning: unused variable 'date' [-Wunused-variable] char * date; ^ ckutio.c: At top level: ckutio.c:12166:1: warning: 'congetbuf' defined but not used [-Wunused-function] congetbuf(x) int x; { ^ ckutio.c:14418:1: warning: 'pty_chk' defined but not used [-Wunused-function] pty_chk(fd) int fd; { ^ ckutio.c: In function 'ttopen': ckutio.c:2568:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(ttname); ^ ckutio.c: In function 'ttlock': ckutio.c:5295:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfd, pid_str, 11); ^ ckutio.c:5320:8: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(flfnam,lock2); ^ ckutio.c: In function 'priv_on': ckutio.c:13906:34: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] #define switchgid(hidden,active) setgid(active) ^ ckutio.c:13931:6: note: in expansion of macro 'switchgid' switchgid(privgid,realgid); ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckufio.c ckufio.c: In function 'zinfill': ckufio.c:1964:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckufio.c: In function 'zchko': ckufio.c:2687:3: warning: label 'xzchko' defined but not used [-Wunused-label] xzchko: /* Exit point */ ^ ckufio.c:2514:12: warning: variable 'oname' set but not used [-Wunused-but-set-variable] char * oname; ^ ckufio.c: In function 'zchdir': ckufio.c:3040:16: warning: variable 'sp' set but not used [-Wunused-but-set-variable] char *hd, *sp; ^ ckufio.c: In function 'zstrdt': ckufio.c:4888:20: warning: unused variable 'tp' [-Wunused-variable] struct utimbuf tp; ^ ckufio.c: In function 'zlocaltime': ckufio.c:5169:20: warning: unused variable 'tp' [-Wunused-variable] struct utimbuf tp; ^ ckufio.c:5152:15: warning: variable 'x' set but not used [-Wunused-but-set-variable] int i, n, x, isleapyear; ^ ckufio.c: In function 'zfnqfp': ckufio.c:7549:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = zgtdir()) { /* So get current directory */ ^ ckufio.c: In function 'zvpass': ckufio.c:8296:12: warning: implicit declaration of function 'ck_tn_auth_valid' [-Wimplicit-function-declaration] && ck_tn_auth_valid() != AUTH_VALID ^ ckufio.c:8567:19: warning: implicit declaration of function 'ck_tn_authenticated' [-Wimplicit-function-declaration] myatype = ck_tn_authenticated(); ^ ckufio.c:8271:21: warning: unused variable 'salt' [-Wunused-variable] char *xpasswd, *salt; ^ ckufio.c:8271:11: warning: unused variable 'xpasswd' [-Wunused-variable] char *xpasswd, *salt; ^ In file included from ckufio.c:42:0: ckufio.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ /usr/include/utmp.h: In function 'logwtmp': ckufio.c:1207:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(wtmpfd, buf.st_size); /* Error, undo any partial write */ ^ ckufio.c: In function 'zclose': ckufio.c:1771:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(xferlog, iksdmsg, (int)strlen(iksdmsg)); ^ ckufio.c: In function 'zvpass': ckufio.c:8403:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (VOID) setgid((GID_T)pw->pw_gid); /* Set group ID */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckudia.c ckudia.c:4226:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab mdmtab[] = { ^ ckudia.c:4226:26: note: (near initialization for 'mdmtab') ckudia.c: In function 'dialfail': ckudia.c:4995:14: warning: the address of 'lbuf' will always evaluate as 'true' [-Waddress] if (lbuf && *lbuf) { ^ ckudia.c: In function 'ckdial': ckudia.c:6434:9: warning: unused variable 'n' [-Wunused-variable] int n = F_TIME; ^ ckudia.c: In function 'dook': ckudia.c:6936:16: warning: unused variable 'inserver' [-Wunused-variable] extern int inserver; ^ ckudia.c:6931:12: warning: unused variable 'mdmmsg' [-Wunused-variable] char * mdmmsg = ""; ^ ckudia.c: In function 'mdmhup': ckudia.c:8068:15: warning: unused variable 'p' [-Wunused-variable] char *s, *p, c; ^ ckudia.c:8064:9: warning: unused variable 'm' [-Wunused-variable] int m, x = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuscr.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcnet.c ckcnet.c: In function 'ck_linger': ckcnet.c:1709:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && ^ ckcnet.c: In function 'sendbuf': ckcnet.c:1831:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c: In function 'recvbuf': ckcnet.c:1927:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && ^ ckcnet.c: In function 'keepalive': ckcnet.c:2018:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c: In function 'dontroute': ckcnet.c:2136:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c: In function 'no_delay': ckcnet.c:2254:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c: In function 'tcpsrv_open': ckcnet.c:2976:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ^ ckcnet.c: In function 'netopen': ckcnet.c:3901:17: warning: variable 'uidfound' set but not used [-Wunused-but-set-variable] int uidfound=0; ^ ckcnet.c:4889:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((tcp_rdns && dns || tcp_rdns == SET_ON ^ ckcnet.c:4910:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ ckcnet.c:3541:15: warning: unused variable 'rc_inet_addr' [-Wunused-variable] int i, x, rc_inet_addr = 0, dns = 0; ^ ckcnet.c: In function 'netclos': ckcnet.c:5091:19: warning: unused variable 'z' [-Wunused-variable] int x = 0, y, z; ^ ckcnet.c:5091:16: warning: unused variable 'y' [-Wunused-variable] int x = 0, y, z; ^ ckcnet.c: In function 'getlocalipaddr': ckcnet.c:6983:20: warning: unused variable 'laddr' [-Wunused-variable] struct in_addr laddr; ^ In file included from ckcnet.h:1245:0, from ckcnet.c:58: ckcnet.c: In function 'netbreak': ckctel.h:183:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (unsigned int)(x) >= TELCMD_FIRST || \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckcnet.c:7571:59: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET SENT ",TELCMD(BREAK), ^ ckcnet.c: In function 'http_date': ckcnet.c:9985:17: warning: unused variable 'cmdatebuf' [-Wunused-variable] extern char cmdatebuf[18]; ^ ckcnet.c: In function 'http_security': ckcnet.c:10203:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(tls_http_con); ^ ckcnet.c:10200:21: warning: variable 'cipher_list' set but not used [-Wunused-but-set-variable] const char *cipher_list; ^ ckcnet.c: In function 'http_open': ckcnet.c:10794:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ ckcnet.c:10253:12: warning: unused variable 'x' [-Wunused-variable] int i, x, dns = 0; ^ ckcnet.c: In function 'http_tol': ckcnet.c:10953:13: warning: unused variable 'error' [-Wunused-variable] int error, r; ^ ckcnet.c: In function 'http_inc': ckcnet.c:11367:4: warning: label 'ssl_read2' defined but not used [-Wunused-label] ssl_read2: ^ ckcnet.c:11152:4: warning: label 'ssl_read' defined but not used [-Wunused-label] ssl_read: ^ ckcnet.c: In function 'http_head': ckcnet.c:11872:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:11871:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:11870:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_index': ckcnet.c:12062:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12061:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12060:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_put': ckcnet.c:12310:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12309:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12308:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_delete': ckcnet.c:12615:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12614:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12613:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_post': ckcnet.c:12855:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12854:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12853:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_connect': ckcnet.c:13143:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:13142:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:13141:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'fwdx_create_listen_socket': ckcnet.c:13748:33: warning: variable 'i' set but not used [-Wunused-but-set-variable] int display, port, sock=-1, i; ^ ckcnet.c: In function 'fwdx_open_client_channel': ckcnet.c:13829:16: warning: unused variable 'dot' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^ ckcnet.c:13829:9: warning: unused variable 'colon' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^ ckcnet.c: In function 'fwdx_server_avail': ckcnet.c:13984:9: warning: unused variable 'on' [-Wunused-variable] int on=1; ^ ckcnet.c:13981:42: warning: unused variable 'i' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^ ckcnet.c:13981:16: warning: unused variable 'dot' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^ ckcnet.c:13981:9: warning: unused variable 'colon' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^ ckcnet.c: In function 'fwdx_open_server_channel': ckcnet.c:14134:21: warning: unused variable 'p' [-Wunused-variable] unsigned char * p; ^ ckcnet.c:14133:20: warning: unused variable 'nchannel' [-Wunused-variable] unsigned short nchannel; ^ ckcnet.c:14117:10: warning: unused variable 'sb' [-Wunused-variable] char sb[8]; ^ ckcnet.c:14107:46: warning: unused variable 'i' [-Wunused-variable] int sock, ready_to_accept, sock2,channel,i; ^ ckcnet.c: In function 'fwdx_write_data_to_channel': ckcnet.c:14303:22: warning: unused variable 'try' [-Wunused-variable] int sock, count, try=0, length = len, i; ^ ckcnet.c: In function 'fwdx_check_sockets': ckcnet.c:14358:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( sstelnet && !TELOPT_ME(TELOPT_FORWARD_X) || ^ ckcnet.c: In function 'fwdx_init_fd_set': ckcnet.c:14391:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( sstelnet && !TELOPT_ME(TELOPT_FORWARD_X) || ^ ckcnet.c: At top level: ckcnet.c:3536:13: warning: 'xxname' defined but not used [-Wunused-variable] static char xxname[XXNAMELEN]; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckctel.c ckctel.c: In function 'tn_outst': ckctel.c:351:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (TELOPT_SB(TELOPT_ENCRYPTION).encrypt.stop && e || ^ ckctel.c:366:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (TELOPT_SB(TELOPT_ENCRYPTION).encrypt.stop && d || ^ In file included from ckcnet.h:1245:0, from ckctel.c:48: ckctel.c: In function 'tn_sopt': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.c:728:10: note: in expansion of macro 'TELCMD_OK' if (!TELCMD_OK(cmd)) return(-1); ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:753:28: note: in expansion of macro 'TELCMD' TELCMD(cmd), " ", ^ ckctel.c:762:22: warning: array subscript has type 'char' [-Wchar-subscripts] tncnts[index][tnopps[m]] = 0; ^ In file included from ckcnet.h:1245:0, from ckctel.c:48: ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:770:49: note: in expansion of macro 'TELCMD' ckmakmsg(msg,sizeof(msg),"TELNET SENT ",TELCMD(cmd)," ", ^ ckctel.c: In function 'tn_ssbopt': ckctel.c:806:11: warning: unused variable 'm' [-Wunused-variable] int n,m,rc; ^ ckctel.c:806:9: warning: unused variable 'n' [-Wunused-variable] int n,m,rc; ^ ckctel.c: In function 'fwdx_tn_sb': ckctel.c:1259:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( sstelnet && !TELOPT_ME(TELOPT_FORWARD_X) || ^ ckctel.c: In function 'fwdx_send_xauth_to_xserver': ckctel.c:1453:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (hi = gethostbyname(host)) ^ ckctel.c:1430:29: warning: unused variable 'p' [-Wunused-variable] unsigned char *sb, *p; ^ ckctel.c:1430:24: warning: unused variable 'sb' [-Wunused-variable] unsigned char *sb, *p; ^ ckctel.c:1428:45: warning: unused variable 'sb_len' [-Wunused-variable] int c, err, dpynum, scrnum, family, sb_len; ^ ckctel.c:1428:16: warning: unused variable 'err' [-Wunused-variable] int c, err, dpynum, scrnum, family, sb_len; ^ ckctel.c:1428:13: warning: unused variable 'c' [-Wunused-variable] int c, err, dpynum, scrnum, family, sb_len; ^ ckctel.c: In function 'iks_tn_sb': ckctel.c:2409:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || !local && cmdadl ^ ckctel.c: In function 'tn_set_modes': ckctel.c:2511:15: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ ckctel.c: In function 'tn_siks': ckctel.c:3485:11: warning: unused variable 'm' [-Wunused-variable] int n,m,rc; ^ ckctel.c:3485:9: warning: unused variable 'n' [-Wunused-variable] int n,m,rc; ^ ckctel.c: In function 'tn_sb': ckctel.c:3637:21: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckctel.c:3587:21: warning: unused variable 'm' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c:3587:12: warning: unused variable 'x' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c:3587:9: warning: unused variable 'c' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c: In function 'tn_no_encrypt': ckctel.c:4344:5: warning: implicit declaration of function 'ck_tn_enc_stop' [-Wimplicit-function-declaration] ck_tn_enc_stop(); ^ In file included from ckcnet.h:1245:0, from ckctel.c:48: ckctel.c: In function 'tn_xdoop': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.c:4416:10: note: in expansion of macro 'TELCMD_OK' if (!TELCMD_OK(c)) { ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:4444:55: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c),NULL,NULL); ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:4505:51: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c)," ",TELOPT(x)); ^ ckctel.c:5208:33: warning: unused variable 'line' [-Wunused-variable] extern char * line; ^ ckctel.c:4394:21: warning: unused variable 'm' [-Wunused-variable] int c, x, y, n, m; ^ ckctel.c: In function 'tn_rnenv': ckctel.c:5674:15: warning: unused variable 'n' [-Wunused-variable] int i,j,k,n; /* Worker. */ ^ ckctel.c:5673:25: warning: unused variable 's' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c:5673:12: warning: unused variable 'reply' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c: In function 'tn_snenv': ckctel.c:5844:25: warning: unused variable 's' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c: In function 'tn_sndcomport': ckctel.c:6663:18: warning: variable 'signature' set but not used [-Wunused-but-set-variable] CONST char * signature; ^ ckctel.c:6662:50: warning: variable 'iflow' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6662:43: warning: variable 'oflow' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6662:33: warning: variable 'stopsize' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6662:25: warning: variable 'parity' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6662:15: warning: variable 'datasize' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6662:9: warning: variable 'baud' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c: In function 'tngmdm': ckctel.c:9002:9: warning: unused variable 'rc' [-Wunused-variable] int rc = -1; ^ ckctel.c: At top level: ckctel.c:1074:1: warning: 'get_local_hostname' defined but not used [-Wunused-function] get_local_hostname (char *buf, int maxlen) ^ ckctel.c:1936:1: warning: 'fwdx_add_quoted_twobyte' defined but not used [-Wunused-function] fwdx_add_quoted_twobyte(unsigned char *p, unsigned short twobyte) ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckusig.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcuni.c ckcuni.c:4378:37: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_transparent = { ^ ckcuni.c:4378:37: note: (near initialization for 'u_transparent') ckcuni.c:4416:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_ascii = { ^ ckcuni.c:4416:31: note: (near initialization for 'u_ascii') ckcuni.c:4432:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_british = { ^ ckcuni.c:4432:33: note: (near initialization for 'u_british') ckcuni.c:4448:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dutch = { ^ ckcuni.c:4448:31: note: (near initialization for 'u_dutch') ckcuni.c:4464:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_finnish = { ^ ckcuni.c:4464:33: note: (near initialization for 'u_finnish') ckcuni.c:4480:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_french = { ^ ckcuni.c:4480:32: note: (near initialization for 'u_french') ckcuni.c:4496:37: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_fr_canadian = { ^ ckcuni.c:4496:37: note: (near initialization for 'u_fr_canadian') ckcuni.c:4512:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_german = { ^ ckcuni.c:4512:32: note: (near initialization for 'u_german') ckcuni.c:4528:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hungarian = { ^ ckcuni.c:4528:35: note: (near initialization for 'u_hungarian') ckcuni.c:4544:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_italian = { ^ ckcuni.c:4544:33: note: (near initialization for 'u_italian') ckcuni.c:4560:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_icelandic = { ^ ckcuni.c:4560:35: note: (near initialization for 'u_icelandic') ckcuni.c:4576:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_jis0201r = { ^ ckcuni.c:4576:34: note: (near initialization for 'u_jis0201r') ckcuni.c:4592:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_jis0201k = { ^ ckcuni.c:4592:34: note: (near initialization for 'u_jis0201k') ckcuni.c:4608:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_norwegian = { /* Same as Danish */ ^ ckcuni.c:4608:35: note: (near initialization for 'u_norwegian') ckcuni.c:4624:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_danish = { /* Same as Norwegian */ ^ ckcuni.c:4624:32: note: (near initialization for 'u_danish') ckcuni.c:4640:36: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_portuguese = { ^ ckcuni.c:4640:36: note: (near initialization for 'u_portuguese') ckcuni.c:4656:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_spanish = { ^ ckcuni.c:4656:33: note: (near initialization for 'u_spanish') ckcuni.c:4672:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_swedish = { ^ ckcuni.c:4672:33: note: (near initialization for 'u_swedish') ckcuni.c:4688:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_swiss = { ^ ckcuni.c:4688:31: note: (near initialization for 'u_swiss') ckcuni.c:4704:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi7 = { ^ ckcuni.c:4704:30: note: (near initialization for 'u_koi7') ckcuni.c:4720:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_elot927 = { ^ ckcuni.c:4720:33: note: (near initialization for 'u_elot927') ckcuni.c:4737:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hebrew7 = { ^ ckcuni.c:4737:33: note: (near initialization for 'u_hebrew7') ckcuni.c:4753:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl1 = { ^ ckcuni.c:4753:30: note: (near initialization for 'u_apl1') ckcuni.c:4771:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_1 = { ^ ckcuni.c:4771:32: note: (near initialization for 'u_8859_1') ckcuni.c:4787:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_2 = { ^ ckcuni.c:4787:32: note: (near initialization for 'u_8859_2') ckcuni.c:4803:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_3 = { ^ ckcuni.c:4803:32: note: (near initialization for 'u_8859_3') ckcuni.c:4819:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_4 = { ^ ckcuni.c:4819:32: note: (near initialization for 'u_8859_4') ckcuni.c:4835:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_5 = { ^ ckcuni.c:4835:32: note: (near initialization for 'u_8859_5') ckcuni.c:4851:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_6 = { ^ ckcuni.c:4851:32: note: (near initialization for 'u_8859_6') ckcuni.c:4867:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_7 = { ^ ckcuni.c:4867:32: note: (near initialization for 'u_8859_7') ckcuni.c:4883:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_8 = { ^ ckcuni.c:4883:32: note: (near initialization for 'u_8859_8') ckcuni.c:4899:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_9 = { ^ ckcuni.c:4899:32: note: (near initialization for 'u_8859_9') ckcuni.c:4915:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_10 = { ^ ckcuni.c:4915:33: note: (near initialization for 'u_8859_10') ckcuni.c:4942:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_15 = { ^ ckcuni.c:4942:33: note: (near initialization for 'u_8859_15') ckcuni.c:4961:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl2 = { /* Dyadic Systems APL + box drawings */ ^ ckcuni.c:4961:30: note: (near initialization for 'u_apl2') ckcuni.c:4977:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl3 = { /* APL-Plus = APL-2000 */ ^ ckcuni.c:4977:30: note: (near initialization for 'u_apl3') ckcuni.c:4997:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl4 = { /* IBM APL2 */ ^ ckcuni.c:4997:30: note: (near initialization for 'u_apl4') ckcuni.c:5017:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl5 = { /* APL-2741 */ ^ ckcuni.c:5017:30: note: (near initialization for 'u_apl5') ckcuni.c:5039:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi8 = { ^ ckcuni.c:5039:30: note: (near initialization for 'u_koi8') ckcuni.c:5057:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi8r = { /* (Russia) Table from RFC1489 */ ^ ckcuni.c:5057:31: note: (near initialization for 'u_koi8r') ckcuni.c:5077:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi8u = { /* (Ukraine) From RFC2319 */ ^ ckcuni.c:5077:31: note: (near initialization for 'u_koi8u') ckcuni.c:5099:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp437 = { ^ ckcuni.c:5099:31: note: (near initialization for 'u_cp437') ckcuni.c:5119:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_mazovia = { ^ ckcuni.c:5119:33: note: (near initialization for 'u_mazovia') ckcuni.c:5139:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp850 = { ^ ckcuni.c:5139:31: note: (near initialization for 'u_cp850') ckcuni.c:5159:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp852 = { ^ ckcuni.c:5159:31: note: (near initialization for 'u_cp852') ckcuni.c:5179:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp855 = { /* CP855 Cyrillic to Unicode */ ^ ckcuni.c:5179:31: note: (near initialization for 'u_cp855') ckcuni.c:5199:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp856 = { /* CP856 (Bulgaria) to Unicode */ ^ ckcuni.c:5199:31: note: (near initialization for 'u_cp856') ckcuni.c:5219:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp857 = { ^ ckcuni.c:5219:31: note: (near initialization for 'u_cp857') ckcuni.c:5239:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp858 = { ^ ckcuni.c:5239:31: note: (near initialization for 'u_cp858') ckcuni.c:5259:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp862 = { ^ ckcuni.c:5259:31: note: (near initialization for 'u_cp862') ckcuni.c:5279:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp864 = { ^ ckcuni.c:5279:31: note: (near initialization for 'u_cp864') ckcuni.c:5299:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp866 = { ^ ckcuni.c:5299:31: note: (near initialization for 'u_cp866') ckcuni.c:5319:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp869 = { ^ ckcuni.c:5319:31: note: (near initialization for 'u_cp869') ckcuni.c:5341:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1250 = { /* Windows Latin-2 */ ^ ckcuni.c:5341:32: note: (near initialization for 'u_cp1250') ckcuni.c:5361:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1251 = { /* Windows Cyrillic */ ^ ckcuni.c:5361:32: note: (near initialization for 'u_cp1251') ckcuni.c:5381:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1252 = { /* Windows Latin-1 */ ^ ckcuni.c:5381:32: note: (near initialization for 'u_cp1252') ckcuni.c:5411:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1253 = { /* Windows Greece */ ^ ckcuni.c:5411:32: note: (near initialization for 'u_cp1253') ckcuni.c:5431:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1254 = { /* Windows Turkey */ ^ ckcuni.c:5431:32: note: (near initialization for 'u_cp1254') ckcuni.c:5451:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1255 = { /* Windows Hebrew */ ^ ckcuni.c:5451:32: note: (near initialization for 'u_cp1255') ckcuni.c:5472:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1256 = { /* Windows Arabic */ ^ ckcuni.c:5472:32: note: (near initialization for 'u_cp1256') ckcuni.c:5493:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1257 = { /* Windows Latin-4 */ ^ ckcuni.c:5493:32: note: (near initialization for 'u_cp1257') ckcuni.c:5513:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1258 = { /* Windows Viet Nam */ ^ ckcuni.c:5513:32: note: (near initialization for 'u_cp1258') ckcuni.c:5534:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp37 = { /* EBCDIC U.S. */ ^ ckcuni.c:5534:30: note: (near initialization for 'u_cp37') ckcuni.c:5572:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_decmcs = { ^ ckcuni.c:5572:32: note: (near initialization for 'u_decmcs') ckcuni.c:5588:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hproman8 = { ^ ckcuni.c:5588:34: note: (near initialization for 'u_hproman8') ckcuni.c:5604:29: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgi = { ^ ckcuni.c:5604:29: note: (near initialization for 'u_dgi') ckcuni.c:5620:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_nextstep = { ^ ckcuni.c:5620:34: note: (near initialization for 'u_nextstep') ckcuni.c:5640:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_maclatin = { ^ ckcuni.c:5640:34: note: (near initialization for 'u_maclatin') ckcuni.c:5660:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_quickdraw = { ^ ckcuni.c:5660:35: note: (near initialization for 'u_quickdraw') ckcuni.c:5699:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dectech = { ^ ckcuni.c:5699:33: note: (near initialization for 'u_dectech') ckcuni.c:5733:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_decspec = { ^ ckcuni.c:5733:33: note: (near initialization for 'u_decspec') ckcuni.c:5759:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hz1500 = { ^ ckcuni.c:5759:32: note: (near initialization for 'u_hz1500') ckcuni.c:5794:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_heath19g = { ^ ckcuni.c:5794:34: note: (near initialization for 'u_heath19g') ckcuni.c:5818:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgspec = { /* Needs to be checked */ ^ ckcuni.c:5818:32: note: (near initialization for 'u_dgspec') ckcuni.c:5836:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgline = { ^ ckcuni.c:5836:32: note: (near initialization for 'u_dgline') ckcuni.c:5852:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgword = { ^ ckcuni.c:5852:32: note: (near initialization for 'u_dgword') ckcuni.c:5875:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hpline = { /* Needs to be checked */ ^ ckcuni.c:5875:32: note: (near initialization for 'u_hpline') ckcuni.c:5892:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hpmath = { ^ ckcuni.c:5892:32: note: (near initialization for 'u_hpmath') ckcuni.c:5908:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_tvig = { ^ ckcuni.c:5908:30: note: (near initialization for 'u_tvig') ckcuni.c:5914:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_gn = { ^ ckcuni.c:5914:33: note: (near initialization for 'u_wyse_gn') ckcuni.c:5934:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_g1 = { ^ ckcuni.c:5934:33: note: (near initialization for 'u_wyse_g1') ckcuni.c:5948:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_g2 = { ^ ckcuni.c:5948:33: note: (near initialization for 'u_wyse_g2') ckcuni.c:5967:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_g3 = { ^ ckcuni.c:5967:33: note: (near initialization for 'u_wyse_g3') ckcuni.c:5982:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_qnxgrph = { ^ ckcuni.c:5982:33: note: (near initialization for 'u_qnxgrph') ckcuni.c:6002:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_snibrack = { ^ ckcuni.c:6002:34: note: (near initialization for 'u_snibrack') ckcuni.c:6018:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_sniblanks = { ^ ckcuni.c:6018:35: note: (near initialization for 'u_sniblanks') ckcuni.c:6034:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_snifacet = { ^ ckcuni.c:6034:34: note: (near initialization for 'u_snifacet') ckcuni.c:6050:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_sniibm = { ^ ckcuni.c:6050:32: note: (near initialization for 'u_sniibm') ckcuni.c:6066:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_snieuro = { ^ ckcuni.c:6066:33: note: (near initialization for 'u_snieuro') ckcuni.c:6082:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_smiley = { ^ ckcuni.c:6082:32: note: (near initialization for 'u_smiley') ckcuni.c:6090:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_c0pics = { ^ ckcuni.c:6090:32: note: (near initialization for 'u_c0pics') ckcuni.c:6119:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_c1pics = { ^ ckcuni.c:6119:32: note: (near initialization for 'u_c1pics') ckcuni.c:16153:1: warning: 'isunicode' defined but not used [-Wunused-function] isunicode( /* Tells whether the host we are */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckupty.c ckupty.c: In function 'ptyint_vhangup': ckupty.c:537:5: warning: implicit declaration of function 'vhangup' [-Wimplicit-function-declaration] vhangup(); ^ ckupty.c: In function 'pty_getpty': ckupty.c:707:9: warning: implicit declaration of function 'openpty' [-Wimplicit-function-declaration] if (openpty(fd, ^ ckupty.c:692:17: warning: unused variable 'stb' [-Wunused-variable] struct stat stb; ^ ckupty.c:691:12: warning: unused variable 'ptynum' [-Wunused-variable] int i, ptynum; ^ ckupty.c:691:9: warning: unused variable 'i' [-Wunused-variable] int i, ptynum; ^ ckupty.c:690:11: warning: unused variable 'p' [-Wunused-variable] char *p; ^ ckupty.c:689:11: warning: unused variable 'cp' [-Wunused-variable] char *cp; ^ ckupty.c: In function 'pty_open_slave': ckupty.c:1088:14: warning: unused variable 'testfd' [-Wunused-variable] int vfd, testfd; ^ ckupty.c:1088:9: warning: unused variable 'vfd' [-Wunused-variable] int vfd, testfd; ^ ckupty.c: In function 'do_pty': ckupty.c:1950:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(syncpipe[1],"y",1); ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcftp.c ckcftp.c: In function 'doftpusr': ckcftp.c:3163:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^ ckcftp.c: In function 'putfile': ckcftp.c:4477:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if (rc == SKP_SIM) ^ ckcftp.c:4475:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if (rc == SKP_XUP) ^ ckcftp.c:4473:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (rc == SKP_XNX) ^ ckcftp.c: In function 'cmdlinget': ckcftp.c:6165:9: warning: unused variable 'i' [-Wunused-variable] int i, x, rc = 0, done = 0, good = 0, status = 0, append = 0; ^ ckcftp.c: In function 'doftpget': ckcftp.c:7316:20: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckcftp.c:6555:12: warning: unused variable 'pat' [-Wunused-variable] char * pat = ""; ^ ckcftp.c:6550:9: warning: unused variable 'matchdot' [-Wunused-variable] int matchdot = 0; ^ ckcftp.c: In function 'ftpcmd': ckcftp.c:9763:31: warning: variable 'len' set but not used [-Wunused-but-set-variable] int r = 0, x = 0, fc = 0, len = 0, cmdlen = 0, q = -1; ^ ckcftp.c: In function 'ssl_auth': ckcftp.c:10432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ^ ckcftp.c:10177:11: warning: unused variable 'p' [-Wunused-variable] char* p; ^ ckcftp.c:10176:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcftp.c: In function 'xlatec': ckcftp.c:10715:13: warning: unused variable 'c1' [-Wunused-variable] int c0, c1; ^ ckcftp.c: In function 'getreply': ckcftp.c:11203:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (ftpcode && n == '6') ^ ckcftp.c:10916:9: warning: variable 'safe' set but not used [-Wunused-but-set-variable] int safe = 0; ^ ckcftp.c: In function 'doftpsend2': ckcftp.c:11755:18: warning: variable 'notafile' set but not used [-Wunused-but-set-variable] int n, t, x, notafile, unique = 0; ^ ckcftp.c:11755:12: warning: unused variable 't' [-Wunused-variable] int n, t, x, notafile, unique = 0; ^ ckcftp.c: In function 'doftprecv2': ckcftp.c:12689:24: warning: variable 'p' set but not used [-Wunused-but-set-variable] char * p; ^ ckcftp.c:12705:17: warning: unused variable 't' [-Wunused-variable] int t; ^ ckcftp.c:12483:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckcftp.c:12482:23: warning: variable 'stop' set but not used [-Wunused-but-set-variable] ULONG start = 0L, stop; ^ ckcftp.c:12482:11: warning: variable 'start' set but not used [-Wunused-but-set-variable] ULONG start = 0L, stop; ^ ckcftp.c: In function 'initconn': ckcftp.c:13102:17: warning: unused variable 's' [-Wunused-variable] int s; ^ ckcftp.c: In function 'dataconn': ckcftp.c:13476:9: warning: unused variable 'tos' [-Wunused-variable] int tos; ^ ckcftp.c: In function 'cancel_remote': ckcftp.c:14460:24: warning: unused variable 'error' [-Wunused-variable] int count, error; ^ ckcftp.c: In function 'ftp_login': ckcftp.c:15110:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) { ^ ckcftp.c:15073:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^ ckcftp.c: In function 'remote_files': ckcftp.c:15661:7: warning: label 'notemp' defined but not used [-Wunused-label] notemp: ^ ckcftp.c:15453:9: warning: unused variable 'i' [-Wunused-variable] int i, x, forced = 0; ^ ckcftp.c: In function 'secure_putbuf': ckcftp.c:16043:25: warning: unused variable 'bufsize' [-Wunused-variable] static unsigned int bufsize = 0; /* size of outbuf */ ^ In file included from ckcftp.c:143:0: ckcftp.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ ckcftp.c:979:12: warning: 'local' defined but not used [-Wunused-variable] static int local = 1; /* Shadows Kermit global 'local' */ ^ ckcftp.c:1023:16: warning: 'ptcancel' defined but not used [-Wunused-variable] static jmp_buf ptcancel; ^ ckcftp.c:1024:16: warning: 'jcancel' defined but not used [-Wunused-variable] static jmp_buf jcancel; ^ ckcftp.c:1025:12: warning: 'ptabflg' defined but not used [-Wunused-variable] static int ptabflg = 0; ^ ckcftp.c:1973:12: warning: 'nciphertab' defined but not used [-Wunused-variable] static int nciphertab = sizeof(ciphertab) / sizeof(struct keytab) - 1; ^ ckcftp.c:1983:12: warning: 'nhashtab' defined but not used [-Wunused-variable] static int nhashtab = sizeof(hashtab) / sizeof(struct keytab) - 1; ^ ckcftp.c:2028:1: warning: 'xprintc' defined but not used [-Wunused-function] xprintc(char c) ^ ckcftp.c:2038:1: warning: 'bytswap' defined but not used [-Wunused-function] bytswap(c0,c1) int * c0, * c1; { ^ ckcftp.c:9719:17: warning: 'ptflag' defined but not used [-Wunused-variable] static int ptflag = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuath.c ckuath.c: In function 'ck_tn_enc_start': ckuath.c:1365:12: warning: implicit declaration of function 'encrypt_is_decrypting' [-Wimplicit-function-declaration] (!encrypt_is_decrypting() || !encrypt_is_encrypting())) { ^ ckuath.c:1372:9: warning: implicit declaration of function 'encrypt_request_start' [-Wimplicit-function-declaration] encrypt_request_start(); ^ ckuath.c: In function 'SendK5AuthSB': ckuath.c:1696:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'SendK4AuthSB': ckuath.c:1821:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'SendSRPAuthSB': ckuath.c:1920:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'SendSSLAuthSB': ckuath.c:2168:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'auth_send': ckuath.c:2352:9: warning: unused variable 'iaccnt' [-Wunused-variable] int iaccnt=0; ^ ckuath.c:2332:9: warning: unused variable 'r' [-Wunused-variable] int r; ^ ckuath.c: In function 'ck_get_crypt_table': ckuath.c:11085:12: warning: implicit declaration of function 'get_crypt_table' [-Wimplicit-function-declaration] return(get_crypt_table(pTable, pN)); ^ ckuath.c: In function 'XauFileName': ckuath.c:12734:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (name = getenv ("XAUTHORITY")) ^ ckuath.c: At top level: ckuath.c:363:13: warning: 'szLocalHostName' defined but not used [-Wunused-variable] static char szLocalHostName[UIDBUFLEN+1]; ^ ckuath.c:1643:1: warning: 'SendK5AuthSB' defined but not used [-Wunused-function] SendK5AuthSB(int type, void *data, int len) ^ ckuath.c:1772:1: warning: 'SendK4AuthSB' defined but not used [-Wunused-function] SendK4AuthSB(int type, void *data, int len) ^ ckuath.c:1881:1: warning: 'SendSRPAuthSB' defined but not used [-Wunused-function] SendSRPAuthSB(int type, void *data, int len) ^ ckuath.c:1993:1: warning: 'auth_encrypt_enable' defined but not used [-Wunused-function] auth_encrypt_enable(BOOL enable) ^ ckuath.c:2303:1: warning: 'auth_resend' defined but not used [-Wunused-function] auth_resend(int type) ^ ckuath.c:9732:31: warning: 'k4_tkt_list' defined but not used [-Wunused-variable] static struct tkt_list_item * k4_tkt_list = NULL; ^ ckuath.c:10240:31: warning: 'k5_tkt_list' defined but not used [-Wunused-variable] static struct tkt_list_item * k5_tkt_list = NULL; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ck_crp.c ck_crp.c: In function 'get_crypt_table': ck_crp.c:684:24: warning: unused variable 'len' [-Wunused-variable] int j = 0, len = 0; ^ ck_crp.c: In function 'encrypt_start': ck_crp.c:1288:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ep = finddecryption(decrypt_mode)) { ^ ck_crp.c: In function 'encrypt_send_keyid': ck_crp.c:1522:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_start_output': ck_crp.c:1624:17: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_send_end': ck_crp.c:1689:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_send_request_start': ck_crp.c:1747:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_send_request_end': ck_crp.c:1789:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: At top level: ck_crp.c:3876:8: warning: type defaults to 'int' in declaration of 'encrypt_debug_mode' [-Wimplicit-int] extern encrypt_debug_mode; ^ ck_crp.c: In function 'cast_fb64_start': ck_crp.c:4026:11: warning: unused variable 'b' [-Wunused-variable] Block b; ^ ck_crp.c: In function 'cast_fb64_is': ck_crp.c:4133:11: warning: unused variable 'b' [-Wunused-variable] Block b; ^ ck_crp.c:4131:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ck_crp.c: In function 'cast_fb64_reply': ck_crp.c:4242:11: warning: unused variable 'b' [-Wunused-variable] Block b; ^ ck_crp.c:4241:20: warning: unused variable 'p' [-Wunused-variable] unsigned char *p; ^ ck_crp.c:4240:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ck_ssl.c ck_ssl.c: In function 'ssl_display_connect_details': ck_ssl.c:1096:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl_con); ^ ck_ssl.c: In function 'ssl_passwd_callback': ck_ssl.c:1145:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^ ck_ssl.c: In function 'tls_load_certs': ck_ssl.c:1326:13: warning: variable 'skip1st' set but not used [-Wunused-but-set-variable] int skip1st = 0; ^ ck_ssl.c:1342:13: warning: variable 'skip1st' set but not used [-Wunused-but-set-variable] int skip1st = 0; ^ ck_ssl.c: In function 'ssl_once_init': ck_ssl.c:1533:17: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ ck_ssl.c: In function 'ssl_tn_init': ck_ssl.c:2167:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ^ ck_ssl.c: In function 'ssl_http_init': ck_ssl.c:2463:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ^ ck_ssl.c: In function 'ssl_get_dNSName': ck_ssl.c:2495:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ck_ssl.c:2522:1: warning: label 'cleanup' defined but not used [-Wunused-label] cleanup: ^ ck_ssl.c: In function 'ssl_get_commonName': ck_ssl.c:2536:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ck_ssl.c: In function 'ssl_get_issuer_name': ck_ssl.c:2564:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ck_ssl.c: In function 'ssl_get_subject_name': ck_ssl.c:2584:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ck_ssl.c: In function 'ssl_verify_crl': ck_ssl.c:2637:11: warning: unused variable 'cp2' [-Wunused-variable] char *cp2; ^ ck_ssl.c:2634:10: warning: unused variable 'bio' [-Wunused-variable] BIO *bio = NULL; ^ ck_ssl.c:2633:10: warning: variable 'serial' set but not used [-Wunused-but-set-variable] long serial; ^ ck_ssl.c: In function 'tls_userid_from_client_cert': ck_ssl.c:2775:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (client_cert = SSL_get_peer_certificate(ssl)) { ^ ck_ssl.c: In function 'tls_get_SAN_objs': ck_ssl.c:2807:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ck_ssl.c: In function 'dNSName_cmp': ck_ssl.c:2856:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c:2861:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c:2875:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c:2880:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c: In function 'ssl_check_server_name': ck_ssl.c:2994:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_DNS)) { ^ ck_ssl.c:3001:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ipAddress = tls_get_SAN_objs(ssl,GEN_IPADD)) { ^ ck_ssl.c:3016:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_EMAIL)) { ^ ck_ssl.c:3023:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_URI)) { ^ ck_ssl.c:3030:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_OTHERNAME)) { ^ ck_ssl.c: In function 'tls_is_anon': ck_ssl.c:3145:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl); ^ ck_ssl.c: In function 'tls_is_krb5': ck_ssl.c:3195:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl); ^ ck_ssl.c: In function 'ssl_reply': ck_ssl.c:3244:12: warning: unused variable 'str' [-Wunused-variable] char * str=NULL; ^ ck_ssl.c: In function 'ck_tn_tls_negotiate': ck_ssl.c:3669:22: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^ ck_ssl.c:3628:66: warning: unused variable 'dNSName' [-Wunused-variable] char *subject=NULL, *issuer=NULL, *commonName=NULL, *dNSName=NULL; ^ ck_ssl.c:3628:48: warning: unused variable 'commonName' [-Wunused-variable] char *subject=NULL, *issuer=NULL, *commonName=NULL, *dNSName=NULL; ^ ck_ssl.c:3628:34: warning: unused variable 'issuer' [-Wunused-variable] char *subject=NULL, *issuer=NULL, *commonName=NULL, *dNSName=NULL; ^ ck_ssl.c:3618:16: warning: unused variable 'str' [-Wunused-variable] char * str=NULL; ^ ck_ssl.c: In function 'ck_ssl_incoming': ck_ssl.c:3758:9: warning: unused variable 'timo' [-Wunused-variable] int timo = 2000; ^ ck_ssl.c: In function 'ck_ssl_outgoing': ck_ssl.c:3982:30: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^ ck_ssl.c:4060:30: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^ ck_ssl.c:3923:9: warning: unused variable 'timo' [-Wunused-variable] int timo = 2000; ^ ck_ssl.c: In function 'ck_ssl_http_client': ck_ssl.c:4157:30: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^ ck_ssl.c:4100:9: warning: unused variable 'timo' [-Wunused-variable] int timo = 2000; ^ gcc -o wermit \ ckcmai.o ckclib.o ckutio.o ckufio.o \ ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \ ckcpro.o ckucmd.o ckuus2.o ckuus3.o \ ckuus4.o ckuus5.o ckuus6.o ckuus7.o \ ckuusx.o ckuusy.o ckuusr.o ckucns.o \ ckudia.o ckuscr.o ckcnet.o ckusig.o \ ckctel.o ckcuni.o ckupty.o ckcftp.o \ ckuath.o ck_crp.o ck_ssl.o -L/usr/lib64 -lssl -lcrypto -lpam -ldl -lz -lutil -lncurses -lresolv -lcrypt -lm make[3]: Leaving directory `/usr/src/RPM/BUILD/x' make[2]: Leaving directory `/usr/src/RPM/BUILD/x' make[1]: Leaving directory `/usr/src/RPM/BUILD/x' make: Leaving directory `/usr/src/RPM/BUILD/x' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.63874 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ckermit-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ckermit-buildroot + cd x + install -d -m 755 /usr/src/tmp/ckermit-buildroot/usr/bin + install -d -m 755 /usr/src/tmp/ckermit-buildroot/usr/share/man/man1 + install -m 755 wermit /usr/src/tmp/ckermit-buildroot/usr/bin/kermit + install -m 644 ckuker.nr /usr/src/tmp/ckermit-buildroot/usr/share/man/man1/kermit.1 + install -D -m 644 /usr/src/RPM/SOURCES/skel.kermrc /usr/src/tmp/ckermit-buildroot/etc/skel/.kermrc + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ckermit-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ckermit-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/ckermit-buildroot (auto) Verifying ELF objects in /usr/src/tmp/ckermit-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: ckermit-9.0.304-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.1171 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd x + DOCDIR=/usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-9.0.304 + export DOCDIR + rm -rf /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-9.0.304 + /bin/mkdir -p /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-9.0.304 + cp -prL COPYING.TXT /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-9.0.304 + chmod -R go-w /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-9.0.304 + chmod -R a+rX /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-9.0.304 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jiGgne find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pOnZqY find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: kermit Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.10()(64bit) >= set:qjvVycoucfMK2wO974OwbdF4afSHLgbEw2FfklgzWktyovkGA3C6tNIP81rxxdSLZzpZAmuEEOGUKCdZDgAQ0XMUYC3ouAvLYvWDE3zG6neXwJxdmkSmyaHY6AvYd5Wr38MkXligGRL3mJL04b7wZ4lCS2aMKKDA0gCkM7kUjJXrq1JM2wkan2rH7ajuKh9LUQyle1IoPQfC0, libm.so.6(GLIBC_2.2.5)(64bit), libncurses.so.5()(64bit) >= set:mjzURG60rCByIQQSSetxe9c, libpam.so.0()(64bit) >= set:jg5sOFGjKLOi8zqd6, libpam.so.0(LIBPAM_1.0)(64bit), libresolv.so.2()(64bit) >= set:kikMrN3e, libresolv.so.2(GLIBC_2.2.5)(64bit), libssl.so.10()(64bit) >= set:nhbZJQdN00WgyZ81B1Zt5udXZGDo45JMg14nLvkZklSrIrhf1yUDEUnLbIrBuBM4bQAhRCPZhXHalDc48V4pnDImh49qIIldVZrrToXQDJBONiEwnyHepAyjzWiznniF9m4xhQwY9TJu6nrjN1, libtinfo.so.5()(64bit) >= set:lihU1qX6afDYday41, libutil.so.1()(64bit) >= set:gfyX1, libutil.so.1(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tFWP1N Creating ckermit-debuginfo package Processing files: ckermit-doc-9.0.304-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.50671 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd x + DOCDIR=/usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-doc-9.0.304 + export DOCDIR + rm -rf /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-doc-9.0.304 + /bin/mkdir -p /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-doc-9.0.304 + cp -prL android.txt COPYING.TXT NOTES.TXT README.TXT /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-doc-9.0.304 + chmod -R go-w /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-doc-9.0.304 + chmod -R a+rX /usr/src/tmp/ckermit-buildroot/usr/share/doc/ckermit-doc-9.0.304 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.N8yvMG find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZRlQoC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Processing files: ckermit-debuginfo-9.0.304-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dw7r2A find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VXIdyC find-requires: running scripts (debuginfo) Requires: ckermit = 9.0.304-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.10), debug64(libm.so.6), debug64(libncurses.so.5), debug64(libpam.so.0), debug64(libresolv.so.2), debug64(libssl.so.10), debug64(libtinfo.so.5), debug64(libutil.so.1) Wrote: /usr/src/RPM/RPMS/x86_64/ckermit-9.0.304-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/ckermit-doc-9.0.304-alt1.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/ckermit-debuginfo-9.0.304-alt1.x86_64.rpm 40.49user 1.63system 1:16.23elapsed 55%CPU (0avgtext+0avgdata 133780maxresident)k 0inputs+0outputs (0major+791266minor)pagefaults 0swaps 43.49user 3.37system 1:24.60elapsed 55%CPU (0avgtext+0avgdata 133780maxresident)k 0inputs+0outputs (0major+1032862minor)pagefaults 0swaps --- ckermit-debuginfo-9.0.304-alt1.x86_64.rpm.repo 2017-06-02 16:45:13.000000000 +0000 +++ ckermit-debuginfo-9.0.304-alt1.x86_64.rpm.hasher 2019-04-14 01:57:49.382493904 +0000 @@ -32,3 +32,2 @@ /usr/src/debug/x/ckupty.c 100644 -/usr/src/debug/x/ckupty.h 100644 /usr/src/debug/x/ckuscr.c 100644