[waffle] [PATCH 05/33] api: remove double NULL check

Chad Versace chad.versace at linux.intel.com
Tue Jul 15 07:32:49 PDT 2014


On 07/07/2014 10:28 AM, Emil Velikov wrote:
> We check if the object is NULL before appending it to the
> obj_list and a second time as we append it. Drop the latter
> as it makes the code more confusing than it needs to be.
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/waffle/api/waffle_context.c | 2 +-
>  src/waffle/api/waffle_gl_misc.c | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the waffle mailing list