Skip to content

Commit

Permalink
Clean up whitespace in some C samples
Browse files Browse the repository at this point in the history
  • Loading branch information
eliben committed Aug 20, 2024
1 parent 8241847 commit 86030fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions examples/c_files/funky.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,4 @@ int maxout_in(int paste, char** matrix)
int main()
{
auto char* multi = "a multi";


}



8 changes: 4 additions & 4 deletions examples/c_files/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef struct tagHash
{
unsigned int table_size;

Node** heads;
Node** heads;

} Hash;

Expand Down Expand Up @@ -137,7 +137,7 @@ ReturnCode HashRemove(Hash* hash, const char* key)

return SUCCESS;
}

temp2 = temp1;
temp1 = temp1->next;
}
Expand Down Expand Up @@ -187,10 +187,10 @@ void HashDestroy(Hash* hash)
free(temp->entry);

temp = temp->next;

free(temp2);
}
}
}

free(hash->heads);
hash->heads = NULL;
Expand Down

0 comments on commit 86030fe

Please sign in to comment.