Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 27, 2023
1 parent 0e5b9f4 commit 4dc8a87
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/s3_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
#include "auth.h"
#include "io.h"
#include <aws/s3/s3_client.h>
#include <aws/s3/s3_platform_info.h>
#include <aws/s3/s3_compute_platform_info.h>

static const char *s_capsule_name_s3_client = "aws_s3_client";

PyObject *aws_py_s3_is_env_ec2(PyObject *self, PyObject *args) {
(void)self;
(void)args;

/* This will grab the metadata s3 knows about. In the case this is Amazon EC2, the instance
Expand All @@ -26,7 +27,8 @@ PyObject *aws_py_s3_is_env_ec2(PyObject *self, PyObject *args) {
}

PyObject *aws_py_s3_get_ec2_instance_type(PyObject *self, PyObject *args) {
(void *)args;
(void)self;
(void)args;

const struct aws_s3_compute_platform_info *compute_info = aws_s3_current_compute_platform_info();

Expand All @@ -39,7 +41,8 @@ PyObject *aws_py_s3_get_ec2_instance_type(PyObject *self, PyObject *args) {
}

PyObject *aws_py_s3_is_crt_s3_optimized_for_system(PyObject *self, PyObject *args) {
(void *)args;
(void)self;
(void)args;

const struct aws_s3_compute_platform_info *compute_info = aws_s3_current_compute_platform_info();

Expand Down

0 comments on commit 4dc8a87

Please sign in to comment.