Skip to content
Permalink
Browse files

Add #pragma ignore ide guideline and bugprone

  • Loading branch information
heapsmash committed Oct 9, 2019
1 parent 4236413 commit d0428a51b44e79b6b1995d58f3c0f9765b1a0359
Showing with 5 additions and 1 deletion.
  1. +5 −1 tsh.c
6 tsh.c
@@ -6,6 +6,10 @@
*
*/

#pragma clang diagnostic push
#pragma ide diagnostic ignored "bugprone-narrowing-conversions"
#pragma ide diagnostic ignored "cppcoreguidelines-narrowing-conversions"

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -531,4 +535,4 @@ void sigquit_handler(int sig)
}



#pragma clang diagnostic pop

0 comments on commit d0428a5

Please sign in to comment.
You can’t perform that action at this time.