Fix another warning
This commit is contained in:
@@ -88,7 +88,7 @@ discord_update_activity(int paused)
|
|||||||
*(paren - 1) = '\0';
|
*(paren - 1) = '\0';
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && !defined (__clang__)
|
||||||
# pragma GCC diagnostic ignored "-Wformat-truncation"
|
# pragma GCC diagnostic ignored "-Wformat-truncation"
|
||||||
#endif
|
#endif
|
||||||
if (strlen(vm_name) < 100) {
|
if (strlen(vm_name) < 100) {
|
||||||
|
|||||||
Reference in New Issue
Block a user