mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Chore: clang-format
This commit is contained in:
@@ -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,7 +1,6 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/parsing.h"
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
|
||||
Reference in New Issue
Block a user