Home
last modified time | relevance | path

Searched hist:f5858b5bf75ef82dfc15b7284abd2f4b0d8278e4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/obmc-console/
H A Dconsole-server.cdiff f5858b5bf75ef82dfc15b7284abd2f4b0d8278e4 Fri Mar 18 01:03:03 CDT 2016 Joel Stanley <joel@jms.id.au> console-server: fix initialiser

When using clang (3.8, and 3.4), the initaliser for struct option:

console-server.c:471:6: error: missing field 'has_arg' initializer
[-Werror,-Wmissing-field-initializers]
{ 0 },

Shut the compiler up by using four zeros, which is what the libc manual
suggests:

"Terminate the array with an element containing all zeros."

Signed-off-by: Joel Stanley <joel@jms.id.au>