fix warnings
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-09 04:03:48 +09:00
commit 37bba97508
2 changed files with 1 additions and 5 deletions

View file

@ -1276,7 +1276,7 @@ static void MwLLEndStateChangeImpl(MwLL handle) {
}
static int MwLLX11CallInitImpl(void) {
MwBool loadX11;
MwBool loadX11 = MwFALSE;
if(getenv("MILSKO_BACKEND")) {
loadX11 |=
(strcmp(getenv("MILSKO_BACKEND"), "x11") == 0);

View file

@ -39,10 +39,6 @@ static int ft2_MwDrawText(MwWidget handle, MwFLFont ttf, MwPoint* point, const c
MwLLPixmap p;
MwRect r;
int x = 0, y = 0;
float l1 = ttf->face->bbox.xMax - ttf->face->bbox.xMin;
float l2 =
ttf->face->bbox.yMax - ttf->face->bbox.yMin;
float length = ttf->face->bbox.xMax;
tw = MwTextWidth(handle, ttf, text);
th = MwTextHeight(handle, ttf, text);