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_idcrtc.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_idcrtc.c')
-rw-r--r-- | src/blueshift_idcrtc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blueshift_idcrtc.c b/src/blueshift_idcrtc.c index c1f73b6..248c99e 100644 --- a/src/blueshift_idcrtc.c +++ b/src/blueshift_idcrtc.c @@ -56,8 +56,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_randr_query_version_cookie_t version_cookie; xcb_randr_query_version_reply_t* randr_version; |