mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Global: silences compiler warnings
This commit is contained in:
@@ -184,7 +184,7 @@ const char* ffOpenGLDetectByEGL(FFOpenGLResult* result) {
|
||||
}
|
||||
if (ffeglGetPlatformDisplay) {
|
||||
FF_DEBUG("Trying eglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA)");
|
||||
display = ffeglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA, EGL_DEFAULT_DISPLAY, nullptr);
|
||||
display = ffeglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA, nullptr /*EGL_DEFAULT_DISPLAY*/, nullptr);
|
||||
FF_DEBUG("eglGetPlatformDisplay() %s", display == EGL_NO_DISPLAY ? "failed" : "succeeded");
|
||||
} else {
|
||||
FF_DEBUG("eglGetPlatformDisplay is unavailable, falling back to eglGetDisplay");
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
#include "image.h"
|
||||
#include "common/library.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
|
||||
#include <magick/MagickCore.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static FF_LIBRARY_SYMBOL(ResizeImage)
|
||||
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
#include "image.h"
|
||||
#include "common/library.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
|
||||
#include <MagickCore/MagickCore.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static FF_LIBRARY_SYMBOL(ResizeImage)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user