Skip to content
Commit 85b80f5c authored by Marek Chalupa's avatar Marek Chalupa Committed by Jonas Ådahl
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 70850643
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