From ad6e96aa8b28d8551a6641ca2bcf7ae7567624a9 Mon Sep 17 00:00:00 2001 From: "rafael@riseup.net" Date: Wed, 11 Nov 2009 16:21:05 +0000 Subject: [PATCH] fix compilation for gcc >= 4.4 --- darkice/trunk/src/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darkice/trunk/src/Util.cpp b/darkice/trunk/src/Util.cpp index ee3bfa9..ca6dd37 100644 --- a/darkice/trunk/src/Util.cpp +++ b/darkice/trunk/src/Util.cpp @@ -294,9 +294,9 @@ Util :: fileAddDate ( const char * str, const char * format ) throw ( Exception ) { unsigned int size; + const char * last; char * s; char * strdate; - char * last; time_t now; if ( !str ) {