What is Nostr?
Esther /
npub1ska…h7nu
2024-04-11 18:15:08

Esther on Nostr: People who know more about C than I do: What does the empty struct type status_data ...

People who know more about C than I do:

What does the empty struct type status_data do in this example? https://libgit2.org/docs/guides/101-samples/#status_iterating_simple

Later is gets initialized with a 0 which my linter flags as "Excess elements in struct initializer" (sounds like a correct warning to me).

I feel like I'm missing something here.
Author Public Key
npub1skay2e2sp73tsqr7nxl4dl6xl7jxvn3zk3x3mckdvqr9s40px4fq0ah7nu