Skip to content

Commit 7887187

Browse files
Misc warning fixes
1 parent 20323d6 commit 7887187

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

arch/ARM/cortex_m/src/semihosting-filesystem.adb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,10 @@ package body Semihosting.Filesystem is
394394
function Flush
395395
(This : in out SHFS_File_Handle)
396396
return Status_Code
397-
is (OK);
397+
is
398+
pragma Unreferenced (This);
399+
begin
400+
return OK;
401+
end Flush;
398402

399403
end Semihosting.Filesystem;

arch/RISC-V/SiFive/drivers/fe310-time.adb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
-- --
3333
------------------------------------------------------------------------------
3434

35-
with FE310; use FE310;
3635
with FE310.CLINT; use FE310.CLINT;
3736

3837
package body FE310.Time is

0 commit comments

Comments
 (0)