Skip to content

Commit 7c495ef

Browse files
committed
GNATCOLL.JSON.Utility: move unused WITH clause
This fixes a warning with recent GNAT toolchains, which now detect more unused WITH clauses. Change-Id: I38cbeecfff49a3b1107f42a2857966ecc75c5e32 TN: T811-027
1 parent 10785b1 commit 7c495ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/gnatcoll-json-utility.adb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
------------------------------------------------------------------------------
22
-- G N A T C O L L --
33
-- --
4-
-- Copyright (C) 2011-2018, AdaCore --
4+
-- Copyright (C) 2011-2020, AdaCore --
55
-- --
66
-- This library is free software; you can redistribute it and/or modify it --
77
-- under terms of the GNU General Public License as published by the Free --
@@ -29,6 +29,8 @@ with Interfaces; use Interfaces;
2929
with GNAT.Encode_UTF8_String;
3030
with GNAT.Decode_UTF8_String;
3131

32+
with GNATCOLL.Strings;
33+
3234
package body GNATCOLL.JSON.Utility is
3335

3436
use Ada.Strings.Unbounded;

src/gnatcoll-json-utility.ads

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
------------------------------------------------------------------------------
22
-- G N A T C O L L --
33
-- --
4-
-- Copyright (C) 2011-2017, AdaCore --
4+
-- Copyright (C) 2011-2020, AdaCore --
55
-- --
66
-- This library is free software; you can redistribute it and/or modify it --
77
-- under terms of the GNU General Public License as published by the Free --
@@ -21,8 +21,6 @@
2121
-- --
2222
------------------------------------------------------------------------------
2323

24-
with GNATCOLL.Strings;
25-
2624
private package GNATCOLL.JSON.Utility is
2725

2826
JsonMimeType : constant String := "application/json";

0 commit comments

Comments
 (0)