Wireshark-commits: [Wireshark-commits] master b653564: Lua: luaL_checkstring does not return NULL

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 13 Oct 2014 19:06:43 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b653564fe21c84482d99586b437be1ffcb35459a
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b653564 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Lua: luaL_checkstring does not return NULL
    
    Removed all checks for NULL strings to cleanup the code.
    
    Change-Id: Ia890cd9b206296f586e85214f07765f14984580b
    Reviewed-on: https://code.wireshark.org/review/4632
    Tested-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  9ce5ca5   extcap: Catch unknown arguments to fix spaces
    adds  b653564   Lua: luaL_checkstring does not return NULL


Summary of changes:
 epan/wslua/wslua_dir.c    |    5 --
 epan/wslua/wslua_dumper.c |   12 +----
 epan/wslua/wslua_field.c  |    2 -
 epan/wslua/wslua_file.c   |   15 +++---
 epan/wslua/wslua_gui.c    |   61 ++--------------------
 epan/wslua/wslua_int64.c  |    4 +-
 epan/wslua/wslua_pinfo.c  |   17 ------
 epan/wslua/wslua_proto.c  |  126 ++++++++++++++++++---------------------------
 epan/wslua/wslua_struct.c |   10 ----
 epan/wslua/wslua_tvb.c    |    5 --
 epan/wslua/wslua_util.c   |    9 +---
 11 files changed, 65 insertions(+), 201 deletions(-)