Skip to content

Commit 0ce166a

Browse files
authored
Merge pull request #229 from tsoding/next-release
v3.8.1 - fix annoying clang warning
2 parents 53cf1d0 + 3941909 commit 0ce166a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

nob.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* nob - v3.8.0 - Public Domain - https://github.com/tsoding/nob.h
1+
/* nob - v3.8.1 - Public Domain - https://github.com/tsoding/nob.h
22
33
This library is the next generation of the [NoBuild](https://github.com/tsoding/nobuild) idea.
44
@@ -1301,8 +1301,8 @@ NOBDEF bool nob_chain_cmd_opt(Nob_Chain *chain, Nob_Cmd *cmd, Nob_Chain_Cmd_Opt
13011301
bool result = true;
13021302
Nob_Pipe pp = {0};
13031303
struct {
1304-
Nob_Fd items[5]; // should be no more than 3, but we allocate 5 just in case
13051304
size_t count;
1305+
Nob_Fd items[5]; // should be no more than 3, but we allocate 5 just in case
13061306
} fds = {0};
13071307

13081308
NOB_ASSERT(cmd->count > 0);
@@ -1353,8 +1353,8 @@ NOBDEF bool nob_chain_end_opt(Nob_Chain *chain, Nob_Chain_End_Opt opt)
13531353

13541354
Nob_Fd *pfdin = NULL;
13551355
struct {
1356-
Nob_Fd items[5]; // should be no more than 3, but we allocate 5 just in case
13571356
size_t count;
1357+
Nob_Fd items[5]; // should be no more than 3, but we allocate 5 just in case
13581358
} fds = {0};
13591359

13601360
if (chain->fdin != NOB_INVALID_FD) {
@@ -3023,6 +3023,7 @@ NOBDEF char *nob_temp_running_executable_path(void)
30233023
/*
30243024
Revision history:
30253025
3026+
3.8.1 (2026-04-01) Fix annoying clang warning
30263027
3.8.0 (2026-03-24) Add NOB_CLIT()
30273028
Fix compliation on MSVC with /TP
30283029
3.7.0 (2026-03-20) Add nob_sb_append_sv()

0 commit comments

Comments
 (0)