evas textblock: remove NULL checking after dereferencing 46/88646/2
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 20 Sep 2016 06:02:03 +0000 (15:02 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Tue, 20 Sep 2016 11:39:56 +0000 (20:39 +0900)
commit31815b7a255085dea26991a9d76a61700dffd49a
tree5a24c81ee4279807705fd553580b2f2add621a73
parenta43683f915bad09c0de3ab6c4748d91b3b491d18
evas textblock: remove NULL checking after dereferencing

Summary:
c->paragraphs couldn't be NULL if it is created by
_layout_paragraph_new() well. So, NULL checking should be
moved to after _layout_paragraph_new().

Test Plan: N/A

Reviewers: raster, cedric, tasn, herdsman

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4300

Change-Id: Ia30c6b431af394f4ea398dfa60cbed3be4e8f65b
Signed-off-by: Youngbok Shin <youngb.shin@samsung.com>
src/lib/evas/canvas/evas_object_textblock.c