[Scummvm-git-logs] scummvm master -> bcc9e1e80306c290757887d0667ac769bc962431

dwatteau noreply at scummvm.org
Fri Nov 25 15:40:54 UTC 2022


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:
bcc9e1e803 ICB: Make pxVString use GCC_PRINTF to catch -Wformat issues


Commit: bcc9e1e80306c290757887d0667ac769bc962431
    https://github.com/scummvm/scummvm/commit/bcc9e1e80306c290757887d0667ac769bc962431
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-11-25T16:36:15+01:00

Commit Message:
ICB: Make pxVString use GCC_PRINTF to catch -Wformat issues

Changed paths:
    engines/icb/common/px_string.h


diff --git a/engines/icb/common/px_string.h b/engines/icb/common/px_string.h
index 9fd1765930e..56b4dc36838 100644
--- a/engines/icb/common/px_string.h
+++ b/engines/icb/common/px_string.h
@@ -95,7 +95,7 @@ inline pxString::~pxString() {
 		delete[] s;
 }
 
-const char *pxVString(const char *format, ...);
+const char *pxVString(const char *format, ...) GCC_PRINTF(1, 2);
 
 class pxFlexiCharBuffer {
 	char *m_buffer; // The buffer itself




More information about the Scummvm-git-logs mailing list