We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4efbc6e commit e299cccCopy full SHA for e299ccc
1 file changed
cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory/test.cpp
@@ -250,8 +250,8 @@ void* test_strndupa(const char* s, size_t size) {
250
return s2; // BAD
251
}
252
253
-int* f_rec(int *p, bool b) {
+int* f_rec(int *p) {
254
int x;
255
- int* px = f_rec(&x, b); // GOOD
+ int* px = f_rec(&x); // GOOD
256
return p;
257
0 commit comments