mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
Avoid -Wunused-function warnings with clang
This commit is contained in:
1 parent
70958ea914
commit
91f7f4b70a
10 files changed
+565
-27
No files matched your search
@@ -139,3 +139,18 @@ wuffs_base__io_buffer__struct::writer_io_position() {
|
||||
}
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
// ---------------- Bureaucracy re -Wunused-function
|
||||
|
||||
static inline void
|
||||
wuffs_base__acknowledge_potentially_unused_functions__io_public()
|
||||
WUFFS_BASE__POTENTIALLY_UNUSED;
|
||||
|
||||
static inline void
|
||||
wuffs_base__acknowledge_potentially_unused_functions__io_public() {
|
||||
(void)(wuffs_base__io_buffer__compact);
|
||||
(void)(wuffs_base__io_buffer__reader);
|
||||
(void)(wuffs_base__io_buffer__reader_io_position);
|
||||
(void)(wuffs_base__io_buffer__writer);
|
||||
(void)(wuffs_base__io_buffer__writer_io_position);
|
||||
}
|
||||
Reference in new issue
Block a user