Skip to content

Commit 906bb16

Browse files
Merge pull request #752 from LedgerHQ/fix/apa/catch_warnings
Fix catch warnings
2 parents b42b2cc + 0e73db3 commit 906bb16

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/eth_plugin_handler.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ eth_plugin_result_t eth_plugin_call(int method, void *parameter) {
272272
os_lib_call(params);
273273
}
274274
CATCH_OTHER(e) {
275+
(void) e;
275276
PRINTF("Plugin call exception for %s\n", alias);
276277
}
277278
FINALLY {

src_features/setExternalPlugin/cmd_setExternalPlugin.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ uint16_t handleSetExternalPlugin(const uint8_t *workBuffer, uint8_t dataLength)
6565
os_lib_call(params);
6666
}
6767
CATCH_OTHER(e) {
68+
(void) e;
6869
PRINTF("%s external plugin is not present\n", dataContext.tokenContext.pluginName);
6970
memset(dataContext.tokenContext.pluginName,
7071
0,

src_features/setPlugin/cmd_setPlugin.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ uint16_t handleSetPlugin(const uint8_t *workBuffer, uint8_t dataLength) {
234234
os_lib_call(params);
235235
}
236236
CATCH_OTHER(e) {
237+
(void) e;
237238
PRINTF("%s external plugin is not present\n", tokenContext->pluginName);
238239
memset(tokenContext->pluginName, 0, sizeof(tokenContext->pluginName));
239240
CLOSE_TRY;

0 commit comments

Comments
 (0)