summaryrefslogtreecommitdiff
path: root/src/common.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-05all: rework how arrays workTimo Teräs1-0/+41
Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.