Code reformatting

This commit is contained in:
Isaac Shoebottom 2023-12-04 20:55:07 -04:00
parent 123e0f56bc
commit 136a4fe960
2 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,7 @@ int main(int argc, char *argv[]) {
}
char *path = argv[1];
char* png_buffer = load_file(get_fd(path));
char *png_buffer = load_file(get_fd(path));
if (!is_png(png_buffer)) {
printf("It's not a PNG file\n");
exit(1);

View File

@ -135,8 +135,6 @@ void xor_data(png_chunk *chunk) {
}
}
void destroy_chunks(png_chunk **chunks) {
unsigned int size = get_number_of_chunks(chunks);
for (int i = 0; i < size; i++) {