Skip to content
Commit 9a2735c2 authored by Derek Foreman's avatar Derek Foreman Committed by Daniel Stone
Browse files

connection: Don't declare a local variable just to takes its size



We can sizeof the struct type instead of declaring a pointer and
taking the size of what it points to.

Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
parent 14761780
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