Remove in function convert_from_addr, the variable flags was not used 12/23112/1
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 26 Nov 2019 15:19:58 +0000 (16:19 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 28 Nov 2019 15:11:48 +0000 (16:11 +0100)
Bug-AGL : SPEC-2780
Bug-AGL: SPEC-2976

Change-Id: Ib31a32565c3bc38ea039003bd924a43318fb7c4e
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/message/j1939-message.cpp

index 8e056c1..432a139 100644 (file)
@@ -98,7 +98,6 @@ std::shared_ptr<j1939_message_t> j1939_message_t::convert_from_addr(struct socka
 {
        int i;
        uint32_t length = 0;
-       uint32_t flags;
        std::vector<uint8_t> data_vector;
 
        if(nbytes > J1939_MAX_DLEN)