diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-05 15:01:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-05 15:01:06 +0200 |
commit | 11952e73c364429f05751c17c2911fb86365a82e (patch) | |
tree | fd1fb2a3d45bd3a6817930aa93c7e6faa1e49de9 /src/blueshift_iccprofile.c | |
parent | bump version (diff) | |
download | blueshift-11952e73c364429f05751c17c2911fb86365a82e.tar.gz blueshift-11952e73c364429f05751c17c2911fb86365a82e.tar.bz2 blueshift-11952e73c364429f05751c17c2911fb86365a82e.tar.xz |
ignore stack-protector skip warning on char** argv from main parameters
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_iccprofile.c')
-rw-r--r-- | src/blueshift_iccprofile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blueshift_iccprofile.c b/src/blueshift_iccprofile.c index b96e682..689a2da 100644 --- a/src/blueshift_iccprofile.c +++ b/src/blueshift_iccprofile.c @@ -35,7 +35,6 @@ static xcb_connection_t* connection; static xcb_generic_error_t* error; - /** * Main entry point of the program * @@ -43,8 +42,11 @@ static xcb_generic_error_t* error; * @param argv Command line arguments * @return Zero on success */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstack-protector" int main(int argc, char** argv) { +#pragma GCC diagnostic pop char* display = NULL; xcb_screen_iterator_t iter; int screen_count; |