Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3106829

Browse files
committed
Use NIL rather than NULL to represent an empty list.
Just to be tidy. Amit Langote Discussion: http://postgr.es/m/[email protected]
1 parent 2186b60 commit 3106829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/cache/evtcache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ EventCacheLookup(EventTriggerEvent event)
6868
if (EventTriggerCacheState != ETCS_VALID)
6969
BuildEventTriggerCache();
7070
entry = hash_search(EventTriggerCache, &event, HASH_FIND, NULL);
71-
return entry != NULL ? entry->triggerlist : NULL;
71+
return entry != NULL ? entry->triggerlist : NIL;
7272
}
7373

7474
/*

0 commit comments

Comments
 (0)