Skip to content

Commit 09c941f

Browse files
committed
Initialize a pointer to NULL instead of 0 for consistency and clarity.
1 parent 4b7a488 commit 09c941f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ds3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ static ds3_object _parse_object(xmlDocPtr doc, xmlNodePtr contents_node) {
865865

866866
static ds3_str* _parse_common_prefixes(xmlDocPtr doc, xmlNodePtr contents_node) {
867867
xmlNodePtr child_node;
868-
ds3_str* prefix = 0;
868+
ds3_str* prefix = NULL;
869869

870870
for(child_node = contents_node->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
871871
if(element_equal(child_node, "Prefix") == true) {

0 commit comments

Comments
 (0)