mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Update test.cpp
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
void testCall (unsigned long);
|
||||
void functionWork() {
|
||||
void functionWork(char aA[10],unsigned int aUI) {
|
||||
|
||||
unsigned long aL;
|
||||
char aA[10],*aP;
|
||||
unsigned char aUC;
|
||||
char *aP;
|
||||
int aI;
|
||||
unsigned int aUI;
|
||||
|
||||
aI = (aUI*8)/10; // GOOD
|
||||
aI = aUI*8; // BAD
|
||||
aP = aA+aI;
|
||||
|
||||
Reference in New Issue
Block a user