open-iscsi / target-isns

Target-isns is an iSNS client for the Linux LIO iSCSI target
GNU General Public License v2.0
16 stars 19 forks source link

Fix zero length arrays #57

Closed gonzoleeman closed 4 years ago

gonzoleeman commented 4 years ago

Fix a couple of zero-length-arrays at the end of data structures, which the gcc-10 compiler no longer approves of. Replace "name[0]" with "name[]" in these two cases, which is the accepted workaround.

gonzoleeman commented 4 years ago

Ooops. Not sure what this is.