Summary Files Commits Branches @commit @diff @stats
path: root / uri.c
diff options
context:
space:
mode:
1 files changed, 1 insertions, 5 deletions
-rw-r--r--uri.c6
diff --git a/uri.c b/uri.c
index 6d3755a..c026c28 100644
--- a/uri.c
+++ b/uri.c
@@ -26,11 +26,7 @@ badwolf_ensure_uri_scheme(const gchar *text, gboolean try_file)
if(path != NULL)
{
- /* flawfinder: ignore. only used as presence check, no way to pass file descriptor */
- if(access(path, R_OK) == 0)
- {
- f = g_strdup_printf("file://%s", path);
- }
+ f = g_strdup_printf("file://%s", path);
free(path);