All: Cleanup all files
Add newline to end of files and remove whitespace from end of lines
This commit is contained in:
@@ -39,7 +39,7 @@ BAN::ErrorOr<BAN::UniqPtr<Image>> load_netbpm(const void* mmap_addr, size_t size
|
||||
}
|
||||
|
||||
const uint8_t* u8_ptr = reinterpret_cast<const uint8_t*>(mmap_addr);
|
||||
|
||||
|
||||
if (u8_ptr[0] != 'P')
|
||||
{
|
||||
fprintf(stderr, "not Netbpm image\n");
|
||||
|
||||
@@ -14,7 +14,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
if (argc != 2)
|
||||
return usage(argv[0], 1);
|
||||
|
||||
|
||||
auto image = Image::load_from_file(argv[1]);
|
||||
if (!image)
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user