Improve JNI code generation (array truncation) 37/3537/4
authorMarek Gradzki <mgradzki@cisco.com>
Mon, 24 Oct 2016 08:34:16 +0000 (10:34 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 25 Oct 2016 15:24:06 +0000 (15:24 +0000)
commit5b3808ed633248fd304b9790c719665081ba7a2b
tree73ed84ddd2c3a7ace77dac7556099ef589ee2804
parent948e00ff5eded0806fc7f54e8f3943aade2bd14a
Improve JNI code generation (array truncation)

Fixes DEADCODE coverity issue:

size_t max_size = 0;
if (max_size != 0 && ...)

Change-Id: I0e3ea4e4ddddb476519490c6f00208379089397c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py