From 3dc9c6d34dcddf389cd4a99eb1cd9325af1b3e83 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 20 Mar 2004 01:18:51 +0000 Subject: [PATCH] - Fix objdir != srcdir build problem - Remove unused variable from b_1414 --- lnet/utils/Makefile.am | 4 ++-- lustre/portals/utils/Makefile.am | 4 ++-- lustre/utils/lfs.c | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lnet/utils/Makefile.am b/lnet/utils/Makefile.am index e871d9a..95b3474 100644 --- a/lnet/utils/Makefile.am +++ b/lnet/utils/Makefile.am @@ -3,8 +3,8 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -# ../ for , ../../ for -COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include +# $(srcdir)/../ for , ../../ for generated +COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include LINK = $(CC) -o $@ if LIBLUSTRE diff --git a/lustre/portals/utils/Makefile.am b/lustre/portals/utils/Makefile.am index e871d9a..95b3474 100644 --- a/lustre/portals/utils/Makefile.am +++ b/lustre/portals/utils/Makefile.am @@ -3,8 +3,8 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -# ../ for , ../../ for -COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include +# $(srcdir)/../ for , ../../ for generated +COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include LINK = $(CC) -o $@ if LIBLUSTRE diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 238001c..ab354af 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -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; -- 1.8.3.1