diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llviewerkeyboard.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2 meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz |
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/newview/llviewerkeyboard.cpp')
-rw-r--r-- | linden/indra/newview/llviewerkeyboard.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/linden/indra/newview/llviewerkeyboard.cpp b/linden/indra/newview/llviewerkeyboard.cpp index f514b2e..fcb1550 100644 --- a/linden/indra/newview/llviewerkeyboard.cpp +++ b/linden/indra/newview/llviewerkeyboard.cpp | |||
@@ -717,15 +717,16 @@ S32 LLViewerKeyboard::loadBindings(const char *filename) | |||
717 | S32 binding_count = 0; | 717 | S32 binding_count = 0; |
718 | S32 line_count = 0; | 718 | S32 line_count = 0; |
719 | 719 | ||
720 | fp = LLFile::fopen(filename, "r"); /* Flawfinder: ignore */ | 720 | if(!filename) |
721 | { | ||
722 | llerrs << " No filename specified" << llendl; | ||
723 | return 0; | ||
724 | } | ||
725 | |||
726 | fp = LLFile::fopen(filename, "r"); | ||
721 | 727 | ||
722 | if (!fp) | 728 | if (!fp) |
723 | { | 729 | { |
724 | if(!filename) | ||
725 | { | ||
726 | llerrs << " No filename specified" << llendl; | ||
727 | return 0; | ||
728 | } | ||
729 | return 0; | 730 | return 0; |
730 | } | 731 | } |
731 | 732 | ||