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:
committed by
waddlesplash
parent
e3af9ff0bf
commit
e000ae2c88
+1
-3
@@ -205,10 +205,8 @@ NotifyApp::_Usage() const
|
|||||||
BBitmap*
|
BBitmap*
|
||||||
NotifyApp::_GetBitmap(const entry_ref* ref) const
|
NotifyApp::_GetBitmap(const entry_ref* ref) const
|
||||||
{
|
{
|
||||||
BBitmap* bitmap = NULL;
|
|
||||||
|
|
||||||
// First try by contents
|
// First try by contents
|
||||||
bitmap = BTranslationUtils::GetBitmap(ref);
|
BBitmap* bitmap = BTranslationUtils::GetBitmap(ref);
|
||||||
if (bitmap)
|
if (bitmap)
|
||||||
return bitmap;
|
return bitmap;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user