mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
grTOGL3.c: warning: variable 'font' is used uninitialized
grTOGL3.c:230:5: warning: variable 'font' is used uninitialized whenever switch default is taken clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
This commit is contained in:
committed by
Tim Edwards
parent
4520112a55
commit
4206ed2436
@@ -228,6 +228,7 @@ GrTOGLTextSize(text, size, r)
|
||||
font = grXLargeFont;
|
||||
break;
|
||||
default:
|
||||
font = NULL;
|
||||
TxError("%s%d\n", "GrTOGLTextSize: Unknown character size ",
|
||||
size );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user