routing: fix compiler warnings