diff --git a/src/common/impl/netif_apple.c b/src/common/impl/netif_apple.c index 85614acb2..2d42735ff 100644 --- a/src/common/impl/netif_apple.c +++ b/src/common/impl/netif_apple.c @@ -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; } diff --git a/src/common/impl/parsing.c b/src/common/impl/parsing.c index 7fec0a77f..e88d10cd5 100644 --- a/src/common/impl/parsing.c +++ b/src/common/impl/parsing.c @@ -1,7 +1,6 @@ #include "fastfetch.h" #include "common/parsing.h" - #ifdef _WIN32 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wformat" diff --git a/src/common/windows/wmi.h b/src/common/windows/wmi.h index da10f21b0..aa50c0043 100644 --- a/src/common/windows/wmi.h +++ b/src/common/windows/wmi.h @@ -16,8 +16,7 @@ NTSYSAPI ULONG NTAPI WmiOpenBlock( _In_ LPCGUID Guid, _In_ ACCESS_MASK DesiredAccess, - _Out_ PHANDLE DataBlockHandle -); + _Out_ PHANDLE DataBlockHandle); /** * The WmiQueryAllDataW function returns all WMI data blocks that implement a given WMI class (Unicode). @@ -31,8 +30,7 @@ NTSYSAPI ULONG NTAPI WmiQueryAllDataW( _In_ HANDLE DataBlockHandle, _Inout_ PULONG BufferLength, - _Out_writes_bytes_opt_(*BufferLength) PVOID Buffer -); + _Out_writes_bytes_opt_(*BufferLength) PVOID Buffer); /** * The WmiCloseBlock function closes a WMI data block object. @@ -42,8 +40,7 @@ WmiQueryAllDataW( */ NTSYSAPI ULONG NTAPI WmiCloseBlock( - _In_ HANDLE DataBlockHandle -); + _In_ HANDLE DataBlockHandle); static inline void ffCloseWmiBlock(HANDLE* hBlock) { assert(hBlock); diff --git a/src/detection/camera/camera_windows.cpp b/src/detection/camera/camera_windows.cpp index 087cc6d5f..1f4230696 100644 --- a/src/detection/camera/camera_windows.cpp +++ b/src/detection/camera/camera_windows.cpp @@ -133,7 +133,7 @@ extern "C" const char* ffDetectCamera(FF_A_UNUSED FFlist* result) { case MFVideoPrimaries_ACES: ffStrbufSetStatic(&camera->colorspace, "ACES"); break; - case (MFVideoPrimaries)13: // MFVideoPrimaries_Display_P3 + case (MFVideoPrimaries) 13: // MFVideoPrimaries_Display_P3 ffStrbufSetStatic(&camera->colorspace, "Display P3"); break; default: