Fix various compiler warnings.

fish.c: -Wincompatible-pointer-types
fkeys.c: -Wmisleading-indentation
proto-irc.c: -Wincompatible-pointer-types
util.c: -Wdeprecated-declarations
xtext.c: -Wmaybe-uninitialized
This commit is contained in:
Sadie Powell
2022-08-28 17:59:42 +01:00
committed by Patrick
parent 20c50fd7ef
commit 46c9df1863
5 changed files with 9 additions and 4 deletions

View File

@@ -894,7 +894,7 @@ key_save_kbs (void)
#define STRIP_WHITESPACE \
while (buf[0] == ' ' || buf[0] == '\t') \
buf++; \
len = strlen (buf); \
len = strlen (buf); \
while (buf[len] == ' ' || buf[len] == '\t') \
{ \
buf[len] = 0; \