[Scummvm-git-logs] scummvm master -> 05c3d5860740b9f15655b44357e2e1a14c956c24

digitall 547637+digitall at users.noreply.github.com
Fri Jun 19 18:39:39 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
05c3d58607 ULTIMA: NUVIE: Fix GCC Compiler Warning


Commit: 05c3d5860740b9f15655b44357e2e1a14c956c24
    https://github.com/scummvm/scummvm/commit/05c3d5860740b9f15655b44357e2e1a14c956c24
Author: D G Turner (digitall at scummvm.org)
Date: 2020-06-19T19:37:09+01:00

Commit Message:
ULTIMA: NUVIE: Fix GCC Compiler Warning

This is emitted if -Wformat-zero-length is set.

Changed paths:
    engines/ultima/nuvie/sound/adplug/mid.cpp


diff --git a/engines/ultima/nuvie/sound/adplug/mid.cpp b/engines/ultima/nuvie/sound/adplug/mid.cpp
index 993f617c68..6ec01beba1 100644
--- a/engines/ultima/nuvie/sound/adplug/mid.cpp
+++ b/engines/ultima/nuvie/sound/adplug/mid.cpp
@@ -378,7 +378,7 @@ bool CmidPlayer::update() {
 								//midiprintf ("%c",(unsigned char)getnext(1));
 								debugN("%c", (unsigned char)getnext(1));
 							}
-							debug("");
+							debug("%s", "");
 						} else {
 							for (i = 0; i < l; i++)
 								midiprintf("%2X ", (unsigned int)getnext(1));




More information about the Scummvm-git-logs mailing list