mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 16:50:19 +00:00
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:
@@ -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; \
|
||||
|
||||
@@ -947,7 +947,7 @@ gtk_xtext_find_char (GtkXText * xtext, int x, int y, int *off, int *out_of_bound
|
||||
textentry *ent;
|
||||
int line;
|
||||
int subline;
|
||||
int outofbounds;
|
||||
int outofbounds = FALSE;
|
||||
|
||||
/* Adjust y value for negative rounding, double to int */
|
||||
if (y < 0)
|
||||
|
||||
Reference in New Issue
Block a user