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/9297f80f-e4ab-7dda-33d4-8580bab6d634@lab.ntt.co.jp
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

+1-1
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)