bin/notify: Fix PVS 741

Fix 'bitmap' is assigned values twice successively.

Change-Id: I02d70a581a682607f6ed280b71cc33c54738b343
Reviewed-on: https://review.haiku-os.org/766
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Murai Takashi
2018-12-14 22:52:42 +00:00
committed by waddlesplash
parent e3af9ff0bf
commit e000ae2c88
+1 -3
View File
@@ -205,10 +205,8 @@ NotifyApp::_Usage() const
BBitmap*
NotifyApp::_GetBitmap(const entry_ref* ref) const
{
BBitmap* bitmap = NULL;
// First try by contents
bitmap = BTranslationUtils::GetBitmap(ref);
BBitmap* bitmap = BTranslationUtils::GetBitmap(ref);
if (bitmap)
return bitmap;