Windows: Fix compiler warning: unused variable

This commit is contained in:
Albrecht Schlosser 2021-05-31 14:20:08 +02:00
parent 1bd57a20e6
commit 3c84894f19
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static const char *get_ms_errmsg() {
_snprintf(emsg, sizeof(emsg), "Error #%ld", (unsigned long)lastErr);
} else {
// Convert message to UTF-8
int mlen = fl_utf8fromwc(emsg, sizeof(emsg), mbuf, msize);
fl_utf8fromwc(emsg, sizeof(emsg), mbuf, msize);
// Remove '\r's -- they screw up fl_alert()
char *src = emsg, *dst = emsg;
for ( ; 1; src++ ) {