summaryrefslogtreecommitdiff
path: root/audio/mpc/files/patch-src-command.c--gcc295
blob: 4f1296b82cfced01f2250a2263ec070323241451 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/command.c	Sat Mar 12 22:32:11 2005
+++ src/command.c	Sat Mar 12 22:32:43 2005
@@ -183,10 +183,12 @@
 int cmd_crop( int argc, char ** argv, mpd_Connection * conn )
 {
 
+	int length;
+
 	mpd_Status *status;
 	status = getStatus( conn );
 
-	int length = ( status->playlistLength - 1 );
+	length = ( status->playlistLength - 1 );
 
 	if( status->playlistLength == 0 ) {