cmd: Remove redundant const.

Jan Zerebecki jan.wine at zerebecki.de
Fri Feb 23 02:25:00 CST 2007


If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.

From: Jan Zerebecki <jan.wine at zerebecki.de>
Changelog:
cmd: Remove redundant const.
---

 programs/cmd/batch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/cmd/batch.c b/programs/cmd/batch.c
index 2044e28..1a9d9e1 100755
--- a/programs/cmd/batch.c
+++ b/programs/cmd/batch.c
@@ -437,7 +437,7 @@ void _splitpath(const CHAR* path, CHAR* drv, CHAR* dir, CHAR* name, CHAR* ext)
 void WCMD_HandleTildaModifiers(char **start, char *forVariable) {
 
 #define NUMMODIFIERS 11
-  const char const validmodifiers[NUMMODIFIERS] = {
+  const char validmodifiers[NUMMODIFIERS] = {
         '~', 'f', 'd', 'p', 'n', 'x', 's', 'a', 't', 'z', '$'
   };
 



More information about the wine-patches mailing list