diff options
author | Sri Mohana Singamsetty <srimohans@gmail.com> | 2019-06-03 20:30:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 20:30:19 +0200 |
commit | dd3bbb159f022e43cda6d7ff6e41e62b0253a2a2 (patch) | |
tree | bc4d82fca69d6bf3fd81796f4942cbfb7a940488 | |
parent | Merge pull request #4447 from donaldsharp/pim_unused_functions (diff) | |
parent | lib: Cleanup recent commit warn->werror issues in lib/routemap.c (diff) | |
download | frr-dd3bbb159f022e43cda6d7ff6e41e62b0253a2a2.tar.xz frr-dd3bbb159f022e43cda6d7ff6e41e62b0253a2a2.zip |
Merge pull request #4451 from donaldsharp/routemap_return
lib: Cleanup recent commit warn->werror issues in lib/routemap.c
-rw-r--r-- | lib/routemap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 807eec9c5..5883307b9 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -1333,6 +1333,13 @@ static route_map_event_t get_route_map_delete_event(route_map_event_t type) */ assert(0); } + + assert(0); + /* + * Return to make c happy but if we get here something has gone + * terribly terribly wrong, so yes this return makes no sense. + */ + return RMAP_EVENT_CALL_ADDED; } /* Add match statement to route map. */ |