mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Fixed warnings.
This commit is contained in:
parent
37d2f3e93b
commit
44a3a89caa
2 changed files with 10 additions and 11 deletions
|
@ -18,6 +18,7 @@ import org.eclipse.core.resources.IMarker;
|
|||
* Test for {@see AssignmentInConditionChecker} class
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("nls")
|
||||
public class AssignmentInConditionCheckerTest extends CheckerTestCase {
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
|
|
|
@ -149,7 +149,6 @@ public class StatementHasNoEffectCheckerTest extends CheckerTestCase {
|
|||
// int a;
|
||||
// FUNC(a); // error by default
|
||||
// }
|
||||
@SuppressWarnings("restriction")
|
||||
public void testInMacro() {
|
||||
IProblemPreference macro = getPreference(StatementHasNoEffectChecker.ER_ID, StatementHasNoEffectChecker.PARAM_MACRO_ID);
|
||||
macro.setValue(Boolean.TRUE);
|
||||
|
@ -173,7 +172,6 @@ public class StatementHasNoEffectCheckerTest extends CheckerTestCase {
|
|||
// int a;
|
||||
// FUNC(a); // no error if macro exp turned off
|
||||
// }
|
||||
@SuppressWarnings("restriction")
|
||||
public void testInMacroParamOff() {
|
||||
IProblemPreference macro = getPreference(StatementHasNoEffectChecker.ER_ID, StatementHasNoEffectChecker.PARAM_MACRO_ID);
|
||||
macro.setValue(Boolean.FALSE);
|
||||
|
|
Loading…
Add table
Reference in a new issue