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_simpleLater 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.
Published at
2024-04-11 20:15:08Event JSON
{
"id": "248fdb7321fd365365517fd49319edd8e65424825838dec18ce728651f3666c7",
"pubkey": "85ba4565500fa2b8007e99bf56ff46ffa4664e22b44d1de2cd60065855e13552",
"created_at": 1712859308,
"kind": 1,
"tags": [
[
"proxy",
"https://strangeobject.space/users/esther/statuses/112253947674423513",
"activitypub"
]
],
"content": "People who know more about C than I do:\n\nWhat does the empty struct type status_data do in this example? https://libgit2.org/docs/guides/101-samples/#status_iterating_simple\n\nLater is gets initialized with a 0 which my linter flags as \"Excess elements in struct initializer\" (sounds like a correct warning to me).\n\nI feel like I'm missing something here.",
"sig": "68e778998b25cbb5da31525c72e6013c012042d66313fb606023daa73ebc6606cd7dff925ff7991d90a42439f8fa7e59616e7064bf5fb7f8961adc6d06a96d69"
}