Skip to content

Commit 5289894

Browse files
Fix test case format
1 parent 2d1cc22 commit 5289894

File tree

1 file changed

+1
-2
lines changed
  • cpp/common/test/rules/donotusepointerarithmetictoaddressdifferentarrays

1 file changed

+1
-2
lines changed

cpp/common/test/rules/donotusepointerarithmetictoaddressdifferentarrays/test.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ void f1() {
4242

4343
// Void pointers have size zero and can't be analyzed.
4444
void *p24 = 0;
45-
unsigned char* p25 = (unsigned char*)p24;
45+
unsigned char *p25 = (unsigned char *)p24;
4646
void *p26 = &p25[100]; // COMPLIANT
47-
4847
}

0 commit comments

Comments
 (0)