]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
script: Rework assert to pass coverity.
authorRoy Marples <roy@marples.name>
Fri, 16 Aug 2019 21:29:58 +0000 (22:29 +0100)
committerRoy Marples <roy@marples.name>
Fri, 16 Aug 2019 21:29:58 +0000 (22:29 +0100)
commit5f2dbbe7e5d27188ebf230d7f8315216a4462b15
tree476535ad434721f73ed3408c10790358107e39b8
parent2dae918bcbe9720087e496114bd9b7c80e3b9bf9
script: Rework assert to pass coverity.

It does work differently for non debug builds, but we don't care
because we reset the value anyway.
This way maybe more descriptive and does avoid a write.
src/script.c