chiark / gitweb /
networkd: add an assert
authorTom Gundersen <teg@jklm.no>
Fri, 11 Apr 2014 21:57:18 +0000 (23:57 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 11 Apr 2014 21:57:18 +0000 (23:57 +0200)
commit702807365ee63f0929858ea26eeea593df4e51da
treebf7b71e8d4bf0abd977a2ff24152876a9f81036a
parent50d6810ea8117bbfcf7007ae779d1a98a7300b5f
networkd: add an assert

This error should never happen, so replace the check with an assert. The check
was anyway broken due to an uninitialized return value.

Reported by Thomas Hindoe Paaboel Andersen <phomes@gmail.com>.
src/network/networkd-link.c