summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/buriedassign.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/buriedassign.cxx')
-rw-r--r--compilerplugins/clang/test/buriedassign.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/buriedassign.cxx b/compilerplugins/clang/test/buriedassign.cxx
index d75c519f4c4a..0d9f011939a3 100644
--- a/compilerplugins/clang/test/buriedassign.cxx
+++ b/compilerplugins/clang/test/buriedassign.cxx
@@ -126,6 +126,7 @@ void main(OUString sUserAutoCorrFile, int* p2)
// expected-error@+1 {{buried assignment, rather put on own line [loplugin:buriedassign]}}
if ((p1 = p2) && sUserAutoCorrFile == "yyy")
sRet = sUserAutoCorrFile;
+ (void)sRet;
}
}