diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-02-15 09:41:14 +0000 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-02-16 10:46:44 +0000 |
commit | 4cd190eb567173c6d10419f379f2facb1a59d7eb (patch) | |
tree | 00fda330a66ac9de68c74bb2a4f96410b4f2dcfa /pango/pango-layout.c | |
parent | af53ff59328aa175920e23c5c1b1fbcca0059921 (diff) | |
download | pango-4cd190eb567173c6d10419f379f2facb1a59d7eb.tar.gz |
pango: Remove some unnecessary NULL checks
These checks are preceded by other checks or code which demonstrates
that the values are definitely always non-NULL.
In the case of pango_attr_list_insert_internal(), the final branch of
the function never needs to update list->attributes_tail, as the middle
branch handles the case of appending to the list. The final case is just
for insertions in the middle of the list.
Coverity IDs: 1391710, 1391711
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=778654
Diffstat (limited to 'pango/pango-layout.c')
0 files changed, 0 insertions, 0 deletions