cppcheck/samples/resourceLeak/good.c

10 lines
129 B
C
Raw Permalink Normal View History

#include <stdio.h>
int main()
{
FILE *a = fopen("good.c", "r");
if (!a)
return 0;
fclose(a);
return 0;
}