Skip to content

Commit 5ab7d89

Browse files
committed
Fix -Wreturn-type warning
1 parent f976d3e commit 5ab7d89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utility/ota/OTA-samd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ int samd_onOTARequest(char const * ota_url)
6262
#endif /* OTA_STORAGE_SNU */
6363

6464
(void)ota_url;
65+
return static_cast<int>(OTAError::DownloadFailed);
6566
}
6667

6768
#endif /* ARDUINO_ARCH_SAMD */

0 commit comments

Comments
 (0)