]> git.proxmox.com Git - pve-cluster.git/commit
use g_return_val_fail as cfs_loop_stop_worker returns void
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 Aug 2016 10:34:04 +0000 (12:34 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 12:02:40 +0000 (14:02 +0200)
commit9c701066a3cc5cda9168ed9d4b3a51f6a4d4a06a
tree07bd733498ead529cb24cb2f61b4a323579c1306
parent329da63d35bbc97b1c871308a0d489418075f71e
use g_return_val_fail as cfs_loop_stop_worker returns void

do not use g_return_val_if_fail because the cfs_loop_stop_worker
function does not return anything and newer versions of GCC complain
about that (I used gcc version 5.4.0 20160609 (Debian 5.4.0-6 from
stretch)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/src/loop.c