Chore: clang-format

This commit is contained in:
Carter Li
2026-05-10 16:00:22 +08:00
parent b37f020270
commit 1c89bbc34e
4 changed files with 6 additions and 12 deletions
+2 -4
View File
@@ -117,8 +117,7 @@ bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result) {
#ifndef __sun
&& sdl->sdl_len
#endif
&& sdl->sdl_family == AF_LINK
) {
&& sdl->sdl_family == AF_LINK) {
if (sdl->sdl_nlen > IF_NAMESIZE) {
return false;
}
@@ -202,8 +201,7 @@ bool ffNetifGetDefaultRouteImplV6(FFNetifDefaultRouteResult* result) {
#ifndef __sun
&& sdl->sdl_len
#endif
&& sdl->sdl_family == AF_LINK
) {
&& sdl->sdl_family == AF_LINK) {
if (sdl->sdl_nlen > IF_NAMESIZE) {
return false;
}
-1
View File
@@ -1,7 +1,6 @@
#include "fastfetch.h"
#include "common/parsing.h"
#ifdef _WIN32
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat"