Fix build.
This commit is contained in:
@@ -223,6 +223,8 @@ RunAddOnMessageThread(BMessage *message, void *)
|
|||||||
BEntry entry;
|
BEntry entry;
|
||||||
BPath path;
|
BPath path;
|
||||||
status_t result = message->FindRef("addon_ref", &addonRef);
|
status_t result = message->FindRef("addon_ref", &addonRef);
|
||||||
|
image_id addonImage;
|
||||||
|
|
||||||
if (result != B_OK)
|
if (result != B_OK)
|
||||||
goto end;
|
goto end;
|
||||||
|
|
||||||
@@ -235,7 +237,7 @@ RunAddOnMessageThread(BMessage *message, void *)
|
|||||||
if (result != B_OK)
|
if (result != B_OK)
|
||||||
goto end;
|
goto end;
|
||||||
|
|
||||||
image_id addonImage = load_add_on(path.Path());
|
addonImage = load_add_on(path.Path());
|
||||||
if (addonImage < 0) {
|
if (addonImage < 0) {
|
||||||
result = addonImage;
|
result = addonImage;
|
||||||
goto end;
|
goto end;
|
||||||
|
|||||||
Reference in New Issue
Block a user