event/dsw: fix gcc 4.8 false positive warning
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Wed, 15 Apr 2020 18:15:37 +0000 (20:15 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 15 Apr 2020 19:45:36 +0000 (21:45 +0200)
commitc3eb8b62744930029f96c5d64d9adac5749908ef
treedae31db32a3eca40aefb3b289062c383a712a513
parentd6d084849a1d0c585e0f484809c205652a7b0471
event/dsw: fix gcc 4.8 false positive warning

Add redundant stack variable initialization to work around
false-positive warnings in older versions of GCC.

Fixes: 1f2b99e8d9b1 ("event/dsw: improve migration mechanism")

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
drivers/event/dsw/dsw_event.c