Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
remove commented out json code to get ready for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperOptimizer committed Nov 19, 2024
1 parent bae80ec commit bf70a04
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions vesuvius-c.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#define VESUVIUS_IMPL

#ifndef VESUVIUS_H
#define VESUVIUS_H

Expand Down Expand Up @@ -30,7 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
//#include <json-c/json.h>
#include <json-c/json.h>
#include <blosc2.h>
#include <sys/stat.h>
#include <sys/types.h>
Expand Down Expand Up @@ -174,7 +172,6 @@ static int fetch_metadata(const char *url, char *buffer) {

// Parses the metadata JSON to retrieve chunk sizes and shape
static int parse_metadata(const char *buffer) {
#if 0
struct json_object *parsed_json, *chunks, *shape;

parsed_json = json_tokener_parse(buffer);
Expand Down Expand Up @@ -203,7 +200,6 @@ static int parse_metadata(const char *buffer) {

json_object_put(parsed_json); // Free JSON object
return 0;
#endif
}

// Public function to initialize chunk sizes and shape
Expand Down

0 comments on commit bf70a04

Please sign in to comment.