• Daniel Macks's avatar
    Avoid setting unused variables (-Wself-assign) · 190f64a0
    Daniel Macks authored
    Setting a variable and then assigning it to itself avoids
    -Wunused-but-set-variable but this specific trick is now caught by
    -Wself-assign. Instead, actually use the value or don't bother
    assigning it at all:
    gdbusauth.c: call g_data_input_stream_read_byte() in void context
    gdbusauthmechanismsha1.c: value is actually used
    gdbusmessage.c: use consistent preprocessor-token protection
    gthreadedresolver.c: skip over bytes in data blob
    httpd.c: do something useful with the value
gdbusauth.c 44.2 KB