summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-08-14 14:49:07 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-08-14 14:49:07 (GMT)
commit9e6be9a8ae24b788cf2463a703bda48cbd77c773 (patch)
treefed426d0d7216311cbd009a1fcd2786176478b5e /src/code.l
parent6e28050ef5483e624122b0bacb998c40664f78ee (diff)
downloadDoxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.zip
Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.gz
Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.bz2
Release-1.5.9-20090814
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/code.l b/src/code.l
index 02e6858..d3c04fb 100644
--- a/src/code.l
+++ b/src/code.l
@@ -410,6 +410,9 @@ static void popScope()
static void setCurrentDoc(const QCString &name,const QCString &base,const QCString &anchor="")
{
+ (void)name;
+ (void)base;
+ (void)anchor;
//static bool searchEngineEnabled=Config_getBool("SEARCHENGINE") &&
// Config_getBool("SOURCE_BROWSER");
//if (searchEngineEnabled)
@@ -420,6 +423,7 @@ static void setCurrentDoc(const QCString &name,const QCString &base,const QCStri
static void addToSearchIndex(const char *text)
{
+ (void)text;
//static bool searchEngineEnabled=Config_getBool("SEARCHENGINE") &&
// Config_getBool("SOURCE_BROWSER");
//if (searchEngineEnabled)
@@ -539,7 +543,7 @@ static void codifyLines(char *text)
while (!done)
{
sp=p;
- while ((c=*p++) && c!='\n');
+ while ((c=*p++) && c!='\n') { }
if (c=='\n')
{
g_yyLineNr++;
@@ -574,7 +578,7 @@ static void writeMultiLineCodeLink(CodeOutputInterface &ol,
{
char *sp=p;
char c;
- while ((c=*p++) && c!='\n');
+ while ((c=*p++) && c!='\n') { }
if (c=='\n')
{
g_yyLineNr++;