]> git.ipfire.org Git - location/libloc.git/commit
writer: Add an empty string to the stringpool
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2022 16:28:44 +0000 (16:28 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2022 16:47:01 +0000 (16:47 +0000)
commitc5a722ccd498ac24b560f9cbe4e73e6a25aaa33e
tree1387257b9ce8712670c0586e413631e59e441894
parent60d5aceba7ae3eb9dfbe39266aef079febdae73d
writer: Add an empty string to the stringpool

This is useful when we have some offset that isn't initialised. It will
point to the start of the string pool which is some random string that
happened to be added first.

An empty string at least signifies better that something is unset.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/writer.c