Avoided a warning

This commit is contained in:
Pierre Pronchery 2012-12-06 22:27:19 +01:00
parent 3c91657465
commit 6d7c594fc5

View File

@ -28,7 +28,7 @@
/* private */ /* private */
/* types */ /* types */
typedef struct _Transport typedef struct _AppTransport
{ {
int ret; int ret;
AppTransportPluginHelper helper; AppTransportPluginHelper helper;
@ -59,7 +59,7 @@ static int _transport(char const * protocol, char const * name)
{ {
char * cwd; char * cwd;
Plugin * plugin; Plugin * plugin;
Transport transport; AppTransport transport;
AppTransportPluginHelper * helper = &transport.helper; AppTransportPluginHelper * helper = &transport.helper;
struct timeval tv; struct timeval tv;