diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-09 15:17:17 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 11:44:24 -0800 |
commit | 1048845650d3ae7e8cea93eec06e8ab86f02d3e5 (patch) | |
tree | ba18db6f84c1e790994543561d23f36a64c26caf /subsurface-core/equipment.c | |
parent | 8109439261d00a5b61d7394dbeae9b6871cb9868 (diff) | |
download | subsurface-1048845650d3ae7e8cea93eec06e8ab86f02d3e5.tar.gz |
Silence warnings in equipment.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/equipment.c')
-rw-r--r-- | subsurface-core/equipment.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-core/equipment.c b/subsurface-core/equipment.c index 47c439735..9f3e49039 100644 --- a/subsurface-core/equipment.c +++ b/subsurface-core/equipment.c @@ -1,3 +1,6 @@ +// Clang has a bug on zero-initialization of C structs. +#pragma clang diagnostic ignored "-Wmissing-field-initializers" + /* equipment.c */ #include <stdio.h> #include <string.h> |