diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-05-02 18:17:32 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-02 18:19:59 +0200 |
commit | e6c20364e715fc7b7922d4470d5c32c781f71e48 (patch) | |
tree | f49dc730bd85978c01fd7cb5213c226b9d475864 /compilerplugins/clang/unusedvariablecheck.cxx | |
parent | da4aca09720b992a48ea4b98d879555dbdcb8666 (diff) |
add const
Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
Diffstat (limited to 'compilerplugins/clang/unusedvariablecheck.cxx')
-rw-r--r-- | compilerplugins/clang/unusedvariablecheck.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.cxx b/compilerplugins/clang/unusedvariablecheck.cxx index c0bf8be522c3..a0763ac2f11d 100644 --- a/compilerplugins/clang/unusedvariablecheck.cxx +++ b/compilerplugins/clang/unusedvariablecheck.cxx @@ -40,7 +40,7 @@ void UnusedVariableCheck::run() TraverseDecl( compiler.getASTContext().getTranslationUnitDecl()); } -bool UnusedVariableCheck::VisitVarDecl( VarDecl* var ) +bool UnusedVariableCheck::VisitVarDecl( const VarDecl* var ) { if( ignoreLocation( var )) return true; |