lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [11/13] git commit: refs/heads/makefile-rework - Remove ineffective const
Date Wed, 15 May 2013 17:24:35 GMT
Remove ineffective const

Discovered by -Wextra.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/86e34dec
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/86e34dec
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/86e34dec

Branch: refs/heads/makefile-rework
Commit: 86e34dec53859257c2feab6c34f4c75012319f10
Parents: 3b36502
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Wed May 15 19:21:48 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Wed May 15 19:23:05 2013 +0200

----------------------------------------------------------------------
 charmonizer/src/Charmonizer/Probe/LargeFiles.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/86e34dec/charmonizer/src/Charmonizer/Probe/LargeFiles.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Probe/LargeFiles.c b/charmonizer/src/Charmonizer/Probe/LargeFiles.c
index c0e51b8..c394245 100644
--- a/charmonizer/src/Charmonizer/Probe/LargeFiles.c
+++ b/charmonizer/src/Charmonizer/Probe/LargeFiles.c
@@ -47,7 +47,7 @@ typedef struct chaz_LargeFiles_unbuff_combo {
 
 /* Check for a 64-bit file pointer type.
  */
-static const int
+static int
 chaz_LargeFiles_probe_off64(void);
 
 /* Check what name 64-bit ftell, fseek go by.
@@ -114,7 +114,7 @@ chaz_LargeFiles_run(void) {
     chaz_ConfWriter_end_module();
 }
 
-static const int
+static int
 chaz_LargeFiles_probe_off64(void) {
     static const char off64_code[] =
         CHAZ_QUOTE(  %s                                        )


Mime
View raw message