summaryrefslogtreecommitdiffstats
path: root/src/common.c
Commit message (Collapse)AuthorAgeFilesLines
* all: rework how arrays workTimo Teräs2010-06-051-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.