HomeClusterLabs Projects

Refactor: tools: Drop redundant check in crm_resource.c

Description

Refactor: tools: Drop redundant check in crm_resource.c

If a new CIB connection object is created successfully (that is, if it's
not NULL), then its cmds member is not NULL.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Thu, Jul 24, 8:16 PM
Parents
rPf700330e7a86: Refactor: tools: Simplify cibadmin.c:do_init()
Branches
Unknown
Tags
Unknown