comparison libpurple/eventloop.c @ 15692:562eaef05fe5

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
author Mark Doliner <mark@kingant.net>
date Sat, 24 Feb 2007 20:22:50 +0000
parents 14d85ee22d78
children 32c366eeeb99
comparison
equal deleted inserted replaced
15691:acf21858f5e2 15692:562eaef05fe5
64 { 64 {
65 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops(); 65 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops();
66 66
67 if (ops->input_get_error) 67 if (ops->input_get_error)
68 { 68 {
69 errno = 0;
70 int ret = ops->input_get_error(fd, error); 69 int ret = ops->input_get_error(fd, error);
71 errno = *error; 70 errno = *error;
72 return ret; 71 return ret;
73 } 72 }
74 else 73 else