diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-01 14:43:02 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-01 14:52:55 +0100 |
commit | 174b25d98c3ae395f5b41fc2e7d5c222cb6369cf (patch) | |
tree | 91f50daad104ca23e6fc92ba02d0bebab69991b5 /src/nm-connectivity.c | |
parent | 72255b71d7970e5f02f2a29cd554421504ffc6f1 (diff) | |
download | NetworkManager-174b25d98c3ae395f5b41fc2e7d5c222cb6369cf.tar.gz |
utils: reimplement NM_UTILS_ENUM2STR_DEFINE() without helper function
The compiler might be able to optimize the switch better.
But more importantly, it has the type information of the enum
and can give warnings about unmentioned enum values.
Diffstat (limited to 'src/nm-connectivity.c')
0 files changed, 0 insertions, 0 deletions