• Hans Breuer's avatar
    [warningectomy] format string is not a string literal (potentially insecure) · 158e98c3
    Hans Breuer authored
    dia_xml.c:286:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        dia_context_add_message (ctx, error_xml->message);
                                      ^~~~~~~~~~~~~~~~~~
    diacairo-print.c:248:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        message_error (error->message);
                       ^~~~~~~~~~~~~~
    xfig-export.c:275:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        message_warning(renderer->warnings[warning]);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    load_save.c:1255:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
              message_error (error->message);
                             ^~~~~~~~~~~~~~
    commands.c:507:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        dia_context_add_message (ctx, error->message);
                                      ^~~~~~~~~~~~~~
    158e98c3
diacairo-print.c 8.52 KB