[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v2.6.2-13-g7379b89
From: |
Eric Blake |
Subject: |
grep branch, master, updated. v2.6.2-13-g7379b89 |
Date: |
Wed, 31 Mar 2010 19:52:30 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via 7379b894557151ee9b66f62488575d755b6d374f (commit)
from c4457b18ccaaadeeaa8fbe42a0c6cfd4902b1a33 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=7379b894557151ee9b66f62488575d755b6d374f
commit 7379b894557151ee9b66f62488575d755b6d374f
Author: Eric Blake <address@hidden>
Date: Wed Mar 31 11:31:20 2010 -0600
build: avoid another warning
Noticed on cygwin:
get-mb-cur-max.c: In function 'main':
get-mb-cur-max.c:27: error: unused parameter 'argc' [-Wunused-parameter]
* tests/get-mb-cur-max.c (main): Use argc.
diff --git a/tests/get-mb-cur-max.c b/tests/get-mb-cur-max.c
index 48e2713..410b1b9 100644
--- a/tests/get-mb-cur-max.c
+++ b/tests/get-mb-cur-max.c
@@ -27,7 +27,7 @@ int
main (int argc, char **argv)
{
set_program_name (argv[0]);
- if (setlocale (LC_ALL, argv[1]))
+ if (1 < argc && setlocale (LC_ALL, argv[1]))
{
printf ("%d\n", (int) MB_CUR_MAX);
exit (EXIT_SUCCESS);
-----------------------------------------------------------------------
Summary of changes:
tests/get-mb-cur-max.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v2.6.2-13-g7379b89,
Eric Blake <=