* [PATCH] test-generation.c: Fix a compiler warning
@ 2012-09-15 16:12 Ramsay Jones
0 siblings, 0 replies; only message in thread
From: Ramsay Jones @ 2012-09-15 16:12 UTC (permalink / raw)
To: Junio C Hamano; +Cc: GIT Mailing-list
gcc complains as follows:
CC test-generation.o
test-generation.c: In function `main':
test-generation.c:105: warning: control reaches end of \
non-void function
In order to suppress the warning, we simply add a suitable
return statement to main().
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---
Hi Junio,
Could you please squash this into commit 1784d096 ("test-generation:
compute generation numbers and clock skews", 04-09-2012).
Thanks!
ATB,
Ramsay Jones
test-generation.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test-generation.c b/test-generation.c
index 4df5a0d..de87f2b 100644
--- a/test-generation.c
+++ b/test-generation.c
@@ -102,4 +102,5 @@ int main(int ac, const char **av)
show_commit(commit, gd);
}
+ return 0;
}
--
1.7.12
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-15 17:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-15 16:12 [PATCH] test-generation.c: Fix a compiler warning Ramsay Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).