mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -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
|
@ -554,7 +554,7 @@ void FeedReaderMessageWidget::updateCurrentMessage()
|
|||
{
|
||||
mTimer->stop();
|
||||
|
||||
long todo; // show link somewhere
|
||||
#warning FeedReaderMessageWidget.cpp TODO thunder2: show link somewhere
|
||||
|
||||
std::string msgId = currentMsgId();
|
||||
|
||||
|
|
|
@ -575,7 +575,6 @@
|
|||
<zorder>titleFrame</zorder>
|
||||
<zorder>splitter</zorder>
|
||||
<zorder>buttonBox</zorder>
|
||||
<zorder>transformationInfoScrollArea</zorder>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
|
|
@ -252,7 +252,7 @@ static bool getFavicon(CURLWrapper &CURL, const std::string &url, std::string &i
|
|||
isContentType(contentType, "application/octet-stream") ||
|
||||
isContentType(contentType, "text/plain")) {
|
||||
if (!vicon.empty()) {
|
||||
long todo; // check it
|
||||
#warning p3FeedReaderThread.cc TODO thunder2: check it
|
||||
result = toBase64(vicon, icon);
|
||||
}
|
||||
}
|
||||
|
@ -1299,7 +1299,7 @@ RsFeedReaderErrorState p3FeedReaderThread::processTransformation(const RsFeedRea
|
|||
|
||||
RsFeedReaderErrorState p3FeedReaderThread::processXPath(const std::list<std::string> &xpathsToUse, const std::list<std::string> &xpathsToRemove, HTMLWrapper &html, std::string &errorString)
|
||||
{
|
||||
long todo_fill_errorString;
|
||||
#warning p3FeedReaderThread.cc TODO thunder2: fill_errorString;
|
||||
|
||||
if (xpathsToUse.empty() && xpathsToRemove.empty()) {
|
||||
return RS_FEED_ERRORSTATE_OK;
|
||||
|
@ -1410,7 +1410,7 @@ RsFeedReaderErrorState p3FeedReaderThread::processXPath(const std::list<std::str
|
|||
RsFeedReaderErrorState result = RS_FEED_ERRORSTATE_OK;
|
||||
|
||||
/* process description */
|
||||
long todo; // encoding
|
||||
#warning p3FeedReaderThread.cc TODO thunder2: encoding
|
||||
HTMLWrapper html;
|
||||
if (html.readHTML(description.c_str(), "")) {
|
||||
xmlNodePtr root = html.getRootElement();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue