[core] attempt to quiet coverity false positives