mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-29 15:22:20 +02:00
src: fix issues reported by clang-tidy
Some of those are simply ignored as they're false positives.
This commit is contained in:
11
src/gnss.c
11
src/gnss.c
@@ -246,18 +246,19 @@ static void fetch_assistance_data(struct EG25Manager *manager)
|
||||
|
||||
g_message("Fetching GNSS assistance data from %s was successful", url);
|
||||
|
||||
fflush(tmp_file);
|
||||
curl_easy_cleanup(curl);
|
||||
|
||||
/* Go to the next step */
|
||||
manager->gnss_assistance_step++;
|
||||
gnss_step(manager);
|
||||
return;
|
||||
|
||||
goto cleanup;
|
||||
|
||||
bail:
|
||||
manager->gnss_assistance_step = EG25_GNSS_STEP_LAST;
|
||||
cleanup:
|
||||
fflush(tmp_file);
|
||||
fclose(tmp_file);
|
||||
if (curl != NULL)
|
||||
curl_easy_cleanup(curl);
|
||||
manager->gnss_assistance_step = EG25_GNSS_STEP_LAST;
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
Reference in New Issue
Block a user