Skip to content

Commit

Permalink
Merge pull request #99 from schopin-pro/fix-uninitialized-comment
Browse files Browse the repository at this point in the history
desauto: initialize the comment array to a sensible value
  • Loading branch information
osj1961 authored Aug 22, 2024
2 parents 6824a6b + 3d6cdfd commit 89310d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leon/src/desauto.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int main( int argc, char *argv[])
char tempArg[8];
enum { DESIGN_AUTO, DESIGN_ISO, MATRIX_AUTO, MATRIX_ISO, CODE_AUTO,
CODE_ISO} computationType = DESIGN_AUTO;
char comment[1024];
char comment[1024] = "";

/* Check whether the first parameters are iso, code, or matrix.
Set the computation type. */
Expand Down

0 comments on commit 89310d7

Please sign in to comment.