submodule: don't use an integer as a NULL pointer
PATCH 1/1 submodule: don't use an integer as a NULL pointer
Signed-off-by Ramsay Jones <[email protected]>
---
Hi Stefan,
If you need to re-roll your 'sb/submodule-init' branch, could you please squash this into the relevant patch.
Thanks!
ATB,
Ramsay Jones
submodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
submodule.c +1 -1
@@ -253,7 +253,7 @@ const char *submodule_strategy_to_string(const struct submodule_update_strategyreturn NULL ;case SM_UPDATE_COMMAND :strbuf_addf (&sb,"!%s" , s->command); -return strbuf_detach (&sb,0 ); +return strbuf_detach (&sb,NULL ); }return NULL ; }
Signature · 1 line
2.7.0