stailq: add non empty list assertion to stailq_shift
stailq_shift expects list to be non empty. Let's add assertion. This patch addresses coverity complains 1526815 and 1526816 (dup). https://scan7.scan.coverity.com/reports.htm#v43693/p13437/fileInstanceId=129122176&defectInstanceId=18601010&mergedDefectId=1526815 Closes #7913 NO_DOC=code health NO_CHANGELOG=code health NO_TEST=code health
Please register or sign in to comment