mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated. Some lines are wrong indented and produce mal formed code.
This commit is contained in:
parent
74aa55e347
commit
674b6de381
63 changed files with 379 additions and 346 deletions
|
@ -296,8 +296,8 @@ namespace
|
|||
const char* desc,
|
||||
bool mandatory)
|
||||
: longName_(l),
|
||||
value_(&v),
|
||||
valueName_(valueName),
|
||||
value_(&v),
|
||||
initialValue_(v),
|
||||
description_(desc),
|
||||
mandatory_(mandatory)
|
||||
|
@ -310,9 +310,9 @@ namespace
|
|||
const char* desc,
|
||||
bool mandatory)
|
||||
: shortName_(1,s),
|
||||
valueName_(valueName),
|
||||
value_(&v),
|
||||
initialValue_(v),
|
||||
valueName_(valueName),
|
||||
description_(desc),
|
||||
mandatory_(mandatory)
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ bool FolderIterator::updateFileInfo(bool& should_skip)
|
|||
|
||||
mFullPath = mFolderName + "/" + mFileName ;
|
||||
|
||||
#warning should we take care of symbolic links on windows?
|
||||
#warning cyril soler: should we take care of symbolic links on windows?
|
||||
#ifndef WINDOWS_SYS
|
||||
if( ent->d_type == DT_LNK)
|
||||
{
|
||||
|
|
|
@ -483,7 +483,7 @@ bool RsDirUtil::checkCreateDirectory(const std::string& dir)
|
|||
std::string RsDirUtil::removeSymLinks(const std::string& path)
|
||||
{
|
||||
#if defined(WINDOWS_SYS) || defined(__APPLE__)
|
||||
#warning (Mr.Alice): I don't know how to do this on windows/MacOS. See https://msdn.microsoft.com/en-us/library/windows/desktop/hh707084(v=vs.85).aspx
|
||||
#warning (Mr.Alice): I don't know how to do this on windows/MacOS. See https://msdn.microsoft.com/en-us/library/windows/desktop/hh707084(v=vs.85).aspx'
|
||||
//if(!S_OK == PathCchCanonicalizeEx(tmp,...) ;
|
||||
return path ;
|
||||
#else
|
||||
|
|
|
@ -327,7 +327,7 @@ bool rsa_sanity_check(RSA *rsa)
|
|||
}
|
||||
|
||||
|
||||
#warning this code should be using GxsSecurity signature code. Not some own made signature call.
|
||||
#warning csoler: this code should be using GxsSecurity signature code. Not some own made signature call.
|
||||
|
||||
bool RsRecogn::signTag(EVP_PKEY *signKey, RsGxsRecognTagItem *item)
|
||||
{
|
||||
|
@ -375,7 +375,7 @@ bool RsRecogn::signTag(EVP_PKEY *signKey, RsGxsRecognTagItem *item)
|
|||
return true;
|
||||
}
|
||||
|
||||
#warning this code should be using GxsSecurity signature code. Not some own made signature call.
|
||||
#warning csoler: this code should be using GxsSecurity signature code. Not some own made signature call.
|
||||
|
||||
bool RsRecogn::signSigner(EVP_PKEY *signKey, RsGxsRecognSignerItem *item)
|
||||
{
|
||||
|
@ -432,7 +432,7 @@ bool RsRecogn::signSigner(EVP_PKEY *signKey, RsGxsRecognSignerItem *item)
|
|||
return true;
|
||||
}
|
||||
|
||||
#warning this code should be using GxsSecurity signature code. Not some own made signature call.
|
||||
#warning csoler: this code should be using GxsSecurity signature code. Not some own made signature call.
|
||||
|
||||
bool RsRecogn::signTagRequest(EVP_PKEY *signKey, RsGxsRecognReqItem *item)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue