mirror of
https://github.com/rizsotto/scan-build.git
synced 2025-12-16 12:00:08 +01:00
12 lines
114 B
C
12 lines
114 B
C
int bad_guy(int * i)
|
|
{
|
|
*i = 9;
|
|
return *i;
|
|
}
|
|
|
|
void bad_guy_test()
|
|
{
|
|
int * ptr = 0;
|
|
bad_guy(ptr);
|
|
}
|