Skip to content

Commit

Permalink
sonarqube: fix fscanf warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chino committed Oct 3, 2022
1 parent fe6ebeb commit 199ebe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oct2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ bool InitLevels( char * levels_list )

// scan each level name into ShortLevelNames[j]
j=0;
while ( j < MAXLEVELS && fscanf( f, " %s", ShortLevelNames[ j ] ) == 1 )
while ( j < MAXLEVELS && fscanf( f, " %32s", ShortLevelNames[ j ] ) == 1 )
{


Expand Down

0 comments on commit 199ebe5

Please sign in to comment.