wmifs: Avoid NULL arguments to strdup.
commit2a7a1a215da34420a8077fe0e774dd799211d16a
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Wed, 22 Oct 2014 21:34:50 +0000 (22 16:34 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 23 Oct 2014 07:03:32 +0000 (23 08:03 +0100)
treefd1b4aeb5037f165a57882311c2f00a800dcc46a
parent3b4c28b9bc093c8cc3ce26edea5292c8739a7182
wmifs: Avoid NULL arguments to strdup.

This prevents several compiler warnings such as the following:
wmifs.c:422:3: warning: null argument where non-null required (argument 1) [-Wnonnull]
   left_action = strdup(LEFT_ACTION);
   ^
wmifs/wmifs/wmifs.c