summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-01 11:09:18 (GMT)
committerGitHub <noreply@github.com>2018-12-01 11:09:18 (GMT)
commit8f29d701e956301662637957338757040fc1303c (patch)
treef6198bc5358d64c63b1d6c74b98c56d0ef54811b /src
parent8c7b1352474e4da5024cfc3ecc25a486b1d4ef2a (diff)
parent24e97b9b61e3fb87fc1b9fbc5362ad24cc40b780 (diff)
downloadDoxygen-8f29d701e956301662637957338757040fc1303c.zip
Doxygen-8f29d701e956301662637957338757040fc1303c.tar.gz
Doxygen-8f29d701e956301662637957338757040fc1303c.tar.bz2
Merge pull request #6648 from albert-github/feature/bug_register
Keyword register (in code) is deprecated since C++11
Diffstat (limited to 'src')
-rw-r--r--src/configimpl.l2
-rw-r--r--src/portable.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index ed5b052..b533910 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -1263,7 +1263,7 @@ static void cleanUpPaths(QStrList &str)
char *sfp = str.first();
while (sfp)
{
- register char *p = sfp;
+ char *p = sfp;
if (p)
{
char c;
diff --git a/src/portable.cpp b/src/portable.cpp
index 08691b2..3dccaed 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -211,8 +211,8 @@ void portable_setenv(const char *name,const char *value)
#if defined(_WIN32) && !defined(__CYGWIN__)
SetEnvironmentVariable(name,value);
#else
- register char **ep = 0;
- register size_t size;
+ char **ep = 0;
+ size_t size;
const size_t namelen=qstrlen(name);
const size_t vallen=qstrlen(value) + 1;