Whamcloud - gitweb
- Fix objdir != srcdir build problem
authorphil <phil>
Sat, 20 Mar 2004 01:18:51 +0000 (01:18 +0000)
committerphil <phil>
Sat, 20 Mar 2004 01:18:51 +0000 (01:18 +0000)
- Remove unused variable from b_1414

lnet/utils/Makefile.am
lustre/portals/utils/Makefile.am
lustre/utils/lfs.c

index e871d9a..95b3474 100644 (file)
@@ -3,8 +3,8 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-# ../ for <portals/*.h>, ../../ for <config.h>
-COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include
+# $(srcdir)/../ for <portals/*.h>, ../../ for generated <config.h>
+COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include
 LINK = $(CC) -o $@
 
 if LIBLUSTRE
index e871d9a..95b3474 100644 (file)
@@ -3,8 +3,8 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
-# ../ for <portals/*.h>, ../../ for <config.h>
-COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include
+# $(srcdir)/../ for <portals/*.h>, ../../ for generated <config.h>
+COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include
 LINK = $(CC) -o $@
 
 if LIBLUSTRE
index 238001c..ab354af 100644 (file)
@@ -86,7 +86,6 @@ static int lfs_setstripe(int argc, char **argv)
         long st_size;
         int  st_offset, st_count;
         char *end;
-        struct stat statbuf;
 
         if (argc != 5)
                 return CMD_HELP;