summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-03-17 14:35:22 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-03-17 14:35:22 (GMT)
commit78d7f021a1a4d2b59a1b39003028311ac6714d86 (patch)
tree0c41d098d2f66bbaa3e56f6516153b4169b4672e
parent01497f22d4bbce81d787cfa5a2d7ce19357b2a7c (diff)
downloadDoxygen-78d7f021a1a4d2b59a1b39003028311ac6714d86.zip
Doxygen-78d7f021a1a4d2b59a1b39003028311ac6714d86.tar.gz
Doxygen-78d7f021a1a4d2b59a1b39003028311ac6714d86.tar.bz2
Removed unneeded check
-rw-r--r--src/pre.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index 4d9f62e..6ae379a 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1171,7 +1171,7 @@ const char *processUntilMatchingTerminator(const char *inputStr,QCString &result
{
if (inputStr==0) return inputStr;
char term = *inputStr; // capture start character of the literal
- if (term==0 || (term!='\'' && term!='"')) return inputStr; // not a valid literal
+ if (term!='\'' && term!='"') return inputStr; // not a valid literal
char c=term;
// output start character
result+=c;