Skip to content
Snippets Groups Projects
Commit 7e505d6f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Name structs to attempt to silence warnings from GCC.

It seems that GCC is concerned that we can't create a sftp_dirdescriptor_t
or sftp_filedescriptor_t?
parent b41e3ca5
Branches
Tags
No related merge requests found
Pipeline #5994 passed
...@@ -400,7 +400,7 @@ struct mouse_hotspot { // Mouse hot-spot ...@@ -400,7 +400,7 @@ struct mouse_hotspot { // Mouse hot-spot
bool hungry; bool hungry;
}; };
typedef struct { typedef struct sftp_dirdes {
bool is_static; bool is_static;
union { union {
struct { struct {
...@@ -415,7 +415,7 @@ typedef struct { ...@@ -415,7 +415,7 @@ typedef struct {
} info; } info;
} *sftp_dirdescriptor_t; } *sftp_dirdescriptor_t;
typedef struct { typedef struct sftp_filedes {
char *local_path; // Needed to get size and record transfer char *local_path; // Needed to get size and record transfer
uint32_t idx_offset; // TODO: Not needed? idx_number is likely better uint32_t idx_offset; // TODO: Not needed? idx_number is likely better
uint32_t idx_number; // Used when recording transfer uint32_t idx_number; // Used when recording transfer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment