From 03cba78fff2ee531884ffe5f18f0ac207df25d1e Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Fri, 11 Apr 2003 21:02:21 +0000 Subject: [PATCH] Moved a local declaration to the top of the funtion, where it has to be to compile svn path=/trunk/; revision=4523 --- reactos/tools/cdmake/cdmake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/tools/cdmake/cdmake.c b/reactos/tools/cdmake/cdmake.c index 5c90645c045..92f28aad612 100644 --- a/reactos/tools/cdmake/cdmake.c +++ b/reactos/tools/cdmake/cdmake.c @@ -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);