Evan, was this line necessary? It causes the following warning

Sat, 24 Feb 2007 20:22:50 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 24 Feb 2007 20:22:50 +0000
changeset 15754
054f67eb288f
parent 15753
8a0b761dfd7b
child 15755
ab33ab6b08ae

Evan, was this line necessary? It causes the following warning
for me when compiling:

eventloop.c: In function 'gaim_input_get_error':
eventloop.c:70: warning: ISO C90 forbids mixed declarations and code

libpurple/eventloop.c file | annotate | diff | comparison | revisions
--- a/libpurple/eventloop.c	Sat Feb 24 20:10:02 2007 +0000
+++ b/libpurple/eventloop.c	Sat Feb 24 20:22:50 2007 +0000
@@ -66,7 +66,6 @@
 
 	if (ops->input_get_error)
 	{
-		errno = 0;
 		int ret = ops->input_get_error(fd, error);
 		errno = *error;
 		return ret;

mercurial