mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Global: silence compiler warnings
This commit is contained in:
@@ -16,7 +16,7 @@ void ffPrintPublicIp(FFPublicIpOptions* options)
|
||||
|
||||
if (error)
|
||||
{
|
||||
ffPrintError(FF_PUBLICIP_DISPLAY_NAME, 0, &options->moduleArgs, error);
|
||||
ffPrintError(FF_PUBLICIP_DISPLAY_NAME, 0, &options->moduleArgs, "%s", error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ void ffPrintWeather(FFWeatherOptions* options)
|
||||
|
||||
if(error)
|
||||
{
|
||||
ffPrintError(FF_WEATHER_MODULE_NAME, 0, &options->moduleArgs, error);
|
||||
ffPrintError(FF_WEATHER_MODULE_NAME, 0, &options->moduleArgs, "%s", error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user