Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up compiler warnings #3

Merged
merged 3 commits into from
Jan 6, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Handle compiler warnings
  • Loading branch information
persan committed Jan 6, 2021
commit 95714e5369a45b65bb49e9c85a98ed3b319a2ecc
3 changes: 1 addition & 2 deletions regtests/client/src/client/testapi-clients.adb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
-- https://openapi-generator.tech
-- Do not edit the class manually.

with Swagger.Streams;
package body TestAPI.Clients is

--
--
-- Query an orchestrated service instance
procedure Orch_Store
(Client : in out Client_Type;
Expand Down
2 changes: 1 addition & 1 deletion regtests/client/src/client/testapi-clients.ads
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package TestAPI.Clients is

type Client_Type is new Swagger.Clients.Client_Type with null record;

--
--
-- Query an orchestrated service instance
procedure Orch_Store
(Client : in out Client_Type;
Expand Down
1 change: 0 additions & 1 deletion src/swagger-credentials-oauth.adb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package body Swagger.Credentials.OAuth is

use Ada.Strings.Unbounded;
use type Security.OAuth.Clients.Access_Token_Access;

-- ------------------------------
-- Set the credendials on the HTTP client request before doing the call.
Expand Down
1 change: 1 addition & 0 deletions src/swagger-streams.adb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ package body Swagger.Streams is
procedure Serialize (Stream : in out Output_Stream'Class;
Name : in String;
Value : in Object_Map) is
procedure Process (Pos : in Util.Beans.Objects.Maps.Cursor);
procedure Process (Pos : in Util.Beans.Objects.Maps.Cursor) is
use Util.Beans.Objects.Maps;
begin
Expand Down