summaryrefslogtreecommitdiffstats
path: root/src/message.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-11-17 20:06:37 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-11-17 20:06:37 (GMT)
commit58058025a8357dcba0da4be0f6c3ddfec8c37839 (patch)
tree7e45a7531079c52824fc0bb02cc28c955a62018b /src/message.cpp
parente0af50954d180b1b4ad7d873a05877be8b22b832 (diff)
downloadDoxygen-58058025a8357dcba0da4be0f6c3ddfec8c37839.zip
Doxygen-58058025a8357dcba0da4be0f6c3ddfec8c37839.tar.gz
Doxygen-58058025a8357dcba0da4be0f6c3ddfec8c37839.tar.bz2
Fixed constness warning
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/message.cpp b/src/message.cpp
index babb282..dd3549a 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -1,12 +1,10 @@
/******************************************************************************
*
- *
- *
* Copyright (C) 1997-2013 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
- * documentation under the terms of the GNU General Public License is hereby
- * granted. No representations are made about the suitability of this software
+ * documentation under the terms of the GNU General Public License is hereby
+ * granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
@@ -214,8 +212,8 @@ void err(const char *fmt, ...)
void printlex(int dbg, bool enter, const char *lexName, const char *fileName)
{
- char *enter_txt = "entering";
- char *enter_txt_uc = "Entering";
+ const char *enter_txt = "entering";
+ const char *enter_txt_uc = "Entering";
if (!enter)
{
@@ -237,5 +235,4 @@ void printlex(int dbg, bool enter, const char *lexName, const char *fileName)
else
Debug::print(Debug::Lex,0,"%s lexical analyzer: %s\n",enter_txt_uc, lexName);
}
-
}