From 86030fe27b6f8a03c10d93a3011b50873944bd61 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Tue, 20 Aug 2024 05:55:32 -0700 Subject: [PATCH] Clean up whitespace in some C samples --- examples/c_files/funky.c | 5 ----- examples/c_files/hash.c | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/examples/c_files/funky.c b/examples/c_files/funky.c index 5ebf7b21..935e1be8 100644 --- a/examples/c_files/funky.c +++ b/examples/c_files/funky.c @@ -12,9 +12,4 @@ int maxout_in(int paste, char** matrix) int main() { auto char* multi = "a multi"; - - } - - - diff --git a/examples/c_files/hash.c b/examples/c_files/hash.c index c11fe45a..9069b94c 100644 --- a/examples/c_files/hash.c +++ b/examples/c_files/hash.c @@ -24,7 +24,7 @@ typedef struct tagHash { unsigned int table_size; - Node** heads; + Node** heads; } Hash; @@ -137,7 +137,7 @@ ReturnCode HashRemove(Hash* hash, const char* key) return SUCCESS; } - + temp2 = temp1; temp1 = temp1->next; } @@ -187,10 +187,10 @@ void HashDestroy(Hash* hash) free(temp->entry); temp = temp->next; - + free(temp2); } - } + } free(hash->heads); hash->heads = NULL;