diff options
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/query.c b/src/query.c index ee709cb..34cb260 100644 --- a/src/query.c +++ b/src/query.c @@ -145,17 +145,8 @@ slv2_plugin_query_sparql(SLV2Plugin plugin, return NULL; } - // Reset numeric locale to correctly interpret turtle numeric constants - char* locale = strdup(setlocale(LC_NUMERIC, NULL)); - setlocale(LC_NUMERIC, "POSIX"); - librdf_query_results* results = librdf_query_execute(query, plugin->rdf); - // Restore numeric locale - setlocale(LC_NUMERIC, locale); - - free(locale); - librdf_free_query(query); free(query_str); |