Skip to content
Commit 05035424 authored by Marek Chalupa's avatar Marek Chalupa Committed by Héctor Orón Martínez
Browse files

connection: remove redundant assignment



the code is something like:

  if (object == NULL && ...) {
      object = NULL;
      return;
  }

first, the object is already NULL, second, the assignment has no effect
since we return from the function right away

Signed-off-by: default avatarMarek Chalupa <mchqwerty@gmail.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: default avatarJonas Ådahl <jadahl@gmail.com>
parent 6cbd1f9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment