~indicator-network-developers/wpasupplicant/trunk

Viewing all changes in revision 16562.

  • Committer: Jouni Malinen
  • Author(s): Andrei Otcheretianski
  • Date: 2020-10-19 20:05:33 UTC
  • Revision ID: git-v1:b4c7114cf54a83570140d58d591018a8812d26be
wpa_supplicant: Remove unfeasible conditions in config parsing

pos can't be NULL in wpa_global_config_parse_str(), so there is no point
checking this, especially when pos was already dereferenced earlier.
Remove the redundant conditions.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: