Skip to content

Commit

Permalink
raster3d: Fix uninitialized variable issue in main.c (#4006)
Browse files Browse the repository at this point in the history
Co-authored-by: Shubham Vasudeo Desai <sdesai8@vclvm179-25.vcl.ncsu.edu>
  • Loading branch information
ShubhamDesai and Shubham Vasudeo Desai committed Jul 9, 2024
1 parent 3e8706d commit 87b6ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raster3d/r3.info/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char *argv[])
{
const char *mapset;
char *line = NULL;
char tmp1[TMP_LENGTH], tmp2[TMP_LENGTH], tmp3[TMP_LENGTH];
char tmp1[TMP_LENGTH] = "", tmp2[TMP_LENGTH] = "", tmp3[TMP_LENGTH] = "";
char timebuff[256];
int i;
FILE *out;
Expand Down

0 comments on commit 87b6ac0

Please sign in to comment.