g_strfreev(sub_filters);
} else
g_critical("gpsbabel not found in PATH");
- g_remove(name_dst);
+ (void)g_remove(name_dst);
g_free(name_dst);
}
ret = babel_general_convert_from ( vt, cb, args, name_dst, user_data );
g_free ( args );
g_free ( shell_command );
- g_remove(name_dst);
+ (void)g_remove(name_dst);
g_free(name_dst);
}
if ((fd_src = g_file_open_tmp("tmp-viking.XXXXXX", &name_src, NULL)) >= 0) {
g_debug ("%s: temporary file: %s", __FUNCTION__, name_src);
close(fd_src);
- g_remove(name_src);
+ (void)g_remove(name_src);
fetch_ret = a_http_download_get_url(url, "", name_src, &myoptions, NULL);
if (fetch_ret == DOWNLOAD_SUCCESS) {
}
}
}
- util_remove(name_src);
+ (void)util_remove(name_src);
g_free(babelargs);
g_free(name_src);
}
g_strfreev(sub_args);
} else
g_critical("gpsbabel not found in PATH");
- g_remove(name_src);
+ (void)g_remove(name_src);
g_free(name_src);
}
// Important that this process is run in the main thread
vik_window_open_file ( adw->vw, gpx_filename, FALSE );
// Delete the temporary file
- g_remove (gpx_filename);
+ (void)g_remove (gpx_filename);
g_free (gpx_filename);
}
else {
}
if (ret == CURL_DOWNLOAD_NO_NEWER_FILE) {
- g_remove ( tmpfilename );
+ (void)g_remove ( tmpfilename );
#if GLIB_CHECK_VERSION(2,18,0)
g_utime ( fn, NULL ); /* update mtime of local copy */
#else
if ( curl_download_uri ( uri, tmp_file, options, NULL, NULL ) ) {
// error
fclose ( tmp_file );
- g_remove ( tmpname );
+ (void)g_remove ( tmpname );
g_free ( tmpname );
return NULL;
}