Re: [PATCH 1/2] terminal: Only set title if asprintf succeeded

2014-01-17 Thread Kristian Høgsberg
On Tue, Jan 14, 2014 at 09:58:32PM +, Bryce W. Harrington wrote: > Handles potential out of memory situation by skipping the title update. > This fixes the following warning: > > terminal.c: In function ‘resize_handler’: > terminal.c:851:11: warning: ignoring return value of ‘asprintf’, >

[PATCH 1/2] terminal: Only set title if asprintf succeeded

2014-01-14 Thread Bryce W. Harrington
Handles potential out of memory situation by skipping the title update. This fixes the following warning: terminal.c: In function ‘resize_handler’: terminal.c:851:11: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Br