From b3cd535bddd2b5ae9fcab1412b30994d384aeb76 Mon Sep 17 00:00:00 2001 From: Dilan Bhalla Date: Mon, 24 Apr 2023 15:46:38 -0700 Subject: [PATCH] removing dead code test --- csharp/ql/src/Dead Code/DeadCode.qll | 5 ----- 1 file changed, 5 deletions(-) diff --git a/csharp/ql/src/Dead Code/DeadCode.qll b/csharp/ql/src/Dead Code/DeadCode.qll index df8cb342787..0718312867f 100644 --- a/csharp/ql/src/Dead Code/DeadCode.qll +++ b/csharp/ql/src/Dead Code/DeadCode.qll @@ -99,8 +99,3 @@ predicate isDeadField(Field f) { not fc instanceof FieldRead and not fc.isRefArgument() ) } - -predicate testPredicate(Method m) { - not isRecursivelyLiveMethod(m) and - m.isSourceDeclaration() -} \ No newline at end of file