[quake3-commits] [ioquake/ioq3] d1b7ab: [sdl] Turn tentative definition into actual defini...
Thomas Köppe
noreply at github.com
Tue Nov 17 13:08:33 EST 2020
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: d1b7ab6b22cc99205ac890910e286859e30df40e
https://github.com/ioquake/ioq3/commit/d1b7ab6b22cc99205ac890910e286859e30df40e
Author: Thomas Köppe <tkoeppe at google.com>
Date: 2020-11-17 (Tue, 17 Nov 2020)
Changed paths:
M code/sdl/sdl_glimp.c
Log Message:
-----------
[sdl] Turn tentative definition into actual definition.
There is no need for a tentative definition in this case. By providing
an explicit initializer, the resulting definition has the same effect
as before, but is no longer tentative. This avoids easy errors
resulting from multiple tentative definitions in different translation
units. (Previous compilers permitted those common errors, but GCC 10
rejects them by default.)
More information about the quake3-commits
mailing list