Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libexfat/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#define PRINTF __attribute__((format(printf, 1, 2)))
#define NORETURN __attribute__((noreturn))
#define PACKED __attribute__((packed))
#undef UNUSED
#define UNUSED __attribute__((unused))
#if __has_extension(c_static_assert)
#define USE_C11_STATIC_ASSERT
Expand All @@ -43,6 +44,7 @@
#define PRINTF __attribute__((format(printf, 1, 2)))
#define NORETURN __attribute__((noreturn))
#define PACKED __attribute__((packed))
#undef UNUSED
#define UNUSED __attribute__((unused))
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
#define USE_C11_STATIC_ASSERT
Expand Down
1 change: 0 additions & 1 deletion libexfat/exfat.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
/* Android.bp is used instead of autotools when targeting Android */
#include "config.h"
#endif
#include "compiler.h"
#include "exfatfs.h"
#include <stdio.h>
#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions libexfat/lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,5 @@ int exfat_split(struct exfat* ef, struct exfat_node** parent,
*parent = *node;
}
exfat_bug("impossible");
return -ENOENT;
}
1 change: 1 addition & 0 deletions libexfat/repair.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ bool exfat_ask_to_fix(const struct exfat* ef)
return yeah;
}
exfat_bug("invalid repair option value: %d", ef->repair);
return false;
}

bool exfat_fix_invalid_vbr_checksum(const struct exfat* ef, void* sector,
Expand Down
1 change: 1 addition & 0 deletions mkfs/mkexfat.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,5 @@ off_t get_position(const struct fs_object* object)
position += (*pp)->get_size();
}
exfat_bug("unknown object");
return 0;
}