Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc310b9

Browse files
authored
Merge pull request#222 from mbaluda-org/mbaluda-22-3-test
Fix RULE-22-3 test
2 parents03e0340 +0d83c9d commitdc310b9

File tree

1 file changed

+1
-1
lines changed
  • c/misra/test/rules/RULE-22-3

1 file changed

+1
-1
lines changed

‎c/misra/test/rules/RULE-22-3/test.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void f8(void) {
4646
voidf9(void) {
4747
charname[50]="tmp9";
4848
charext[]="txt";
49-
charfile[]=strcat(name,ext);
49+
char*file=strcat(name,ext);
5050
FILE*fw=fopen(file,"r+");
5151
FILE*fr=fopen(strcat(name,ext),"r");// NON_COMPLIANT[FALSE_NEGATIVE]
5252
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp