Skip to content

Commit

Permalink
Suppress -Wempty-translation-unit compiler warnings (#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Mar 18, 2023
1 parent 9e5ce91 commit 0fbe28f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/gis/win32_pipes.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,6 @@ HANDLE G_pipe_connect(char *name)
return (hPipe);
}

#endif /* __MINGW32__ */
#endif /* __MINGW32__ */
#endif /* __MINGW32__ */
extern int dummy_for_iso_compilers; /* suppress -Wempty-translation-unit */
#endif /* __MINGW32__ */
1 change: 1 addition & 0 deletions raster/r.param.scale/disp_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ void disp_wind(CELL * z)
fgets(dummy, 70, stdin);
}
#endif
extern int dummy_for_iso_compilers; /* suppress -Wempty-translation-unit */

0 comments on commit 0fbe28f

Please sign in to comment.