mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +01:00
9 lines
152 B
C
9 lines
152 B
C
static int abs(int x) {
|
|
/* This is wrong for INT_MIN. */
|
|
if(x > 0)
|
|
return x;
|
|
else
|
|
return -x;
|
|
}
|
|
// semmle-extractor-options: -std=c99
|