forked from 12to11/12to11
Pacify analyzer warning
* text_input.c (HandleNewIM): Pacify false positive warning.
This commit is contained in:
parent
4772d8cede
commit
fb2fd1b5d1
1 changed files with 9 additions and 0 deletions
|
@ -2921,8 +2921,17 @@ HandleNewIM (XIM xim)
|
|||
|
||||
return;
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wanalyzer-malloc-leak"
|
||||
#endif
|
||||
|
||||
bad_locale:
|
||||
XCloseIM (xim);
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue