Code bugs're fixed. 11/14911/1
authorsh.pi <sh.pi@samsung.com>
Fri, 3 May 2013 10:23:35 +0000 (19:23 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Mon, 13 Jan 2014 15:16:01 +0000 (16:16 +0100)
commitebd01687cfbe4328fbdcd8fc863faab22e52682d
tree88094cccdd6764b0f9f467d4426df8683cd14a51
parent70b3d0f8680ed1f9e9500c432ee57557c5303d58
Code bugs're fixed.

src/display/core.c 1778:  Declaring variable "i" without initializer.
src/display/core.c  771:  string_null_argument: Function "read(int, void *, size_t)" does not terminate string "*pname"
src/display/core.c  287:  missing_return: Arriving at the end of a function without returning a value.
src/display/poll.c  235:  leaked_storage: Variable "new_dev" going out of scope leaks the storage it points to.

Change-Id: I3eb4d79cdbc1c367bc776a934e3d217ccd70f37d
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
src/display/core.c