Commit ec25e0e4d2faca71b46d72b7e95b8cbd0556f95a

Authored by Perry Werneck
1 parent 14e8bdb3
Exists in master and in 2 other branches develop, macos

Fixing LGTM warnings.

src/include/lib3270/filetransfer.h
@@ -106,14 +106,14 @@ @@ -106,14 +106,14 @@
106 { 106 {
107 struct lib3270_ft_callbacks cbk; ///< @brief Callback table - Always the first one. 107 struct lib3270_ft_callbacks cbk; ///< @brief Callback table - Always the first one.
108 108
109 - int ft_last_cr : 1; ///< @brief CR was last char in local file  
110 - int remap_flag : 1; ///< @brief Remap ASCII<->EBCDIC  
111 - int cr_flag : 1; ///< @brief Add crlf to each line  
112 - int unix_text : 1; ///< @brief Following the convention for UNIX text files.  
113 - int message_flag : 1; ///< @brief Open Request for msg received  
114 - int ascii_flag : 1; ///< @brief Convert to ascii  
115 - int ft_is_cut : 1; ///< @brief File transfer is CUT-style  
116 - int dft_eof : 1; 109 + unsigned int ft_last_cr : 1; ///< @brief CR was last char in local file
  110 + unsigned int remap_flag : 1; ///< @brief Remap ASCII<->EBCDIC
  111 + unsigned int cr_flag : 1; ///< @brief Add crlf to each line
  112 + unsigned int unix_text : 1; ///< @brief Following the convention for UNIX text files.
  113 + unsigned int message_flag : 1; ///< @brief Open Request for msg received
  114 + unsigned int ascii_flag : 1; ///< @brief Convert to ascii
  115 + unsigned int ft_is_cut : 1; ///< @brief File transfer is CUT-style
  116 + unsigned int dft_eof : 1;
117 117
118 118
119 H3270 * host; 119 H3270 * host;
src/network_modules/openssl/main.c
@@ -34,7 +34,6 @@ @@ -34,7 +34,6 @@
34 34
35 #include "private.h" 35 #include "private.h"
36 36
37 -  
38 static void openssl_network_reset(H3270 *hSession) { 37 static void openssl_network_reset(H3270 *hSession) {
39 38
40 if(hSession->network.context) { 39 if(hSession->network.context) {