Moved a local declaration to the top of the funtion, where it has to be to compile

svn path=/trunk/; revision=4523
This commit is contained in:
Phillip Susi 2003-04-11 21:02:21 +00:00
parent 22f750cd54
commit 03cba78fff

View file

@ -1,4 +1,4 @@
/* $Id: cdmake.c,v 1.1 2003/04/07 18:15:20 ekohl Exp $ */
/* $Id: cdmake.c,v 1.2 2003/04/11 21:02:21 phreak Exp $ */
/* CD-ROM Maker
by Philip J. Erdelsky
pje@acm.org
@ -486,9 +486,9 @@ a negative value if p is before q, or a positive vlaue if p is after q.
static int compare_path_table_order(PDIR_RECORD p, PDIR_RECORD q)
{
int n = p->level - q->level;
if (p == q)
return 0;
int n = p->level - q->level;
if (n == 0)
{
n = compare_path_table_order(p->parent, q->parent);