Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused local variables #339

Merged
merged 1 commit into from Jun 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion src/article/embeddedimage.cpp
Expand Up @@ -132,7 +132,6 @@ void EmbeddedImage::resize_thread()
const int width = m_img->get_width_emb();
const int height = m_img->get_height_emb();

std::string errmsg;
bool pixbufonly = true;

if( m_img->get_type() == DBIMG::T_BMP ) pixbufonly = false; // BMP の場合 pixbufonly = true にすると真っ黒になる
Expand Down
2 changes: 0 additions & 2 deletions src/bbslist/bbslistviewbase.cpp
Expand Up @@ -3001,8 +3001,6 @@ void BBSListViewBase::get_threads( const size_t dirid, std::vector< std::string
std::cout << "BBSListViewBase::get_threads " << dirid << std::endl;
#endif

std::list< Gtk::TreePath > list_path;

Gtk::TreePath path = m_treeview.dirid_to_path( dirid );
if( dirid && path.empty() ) return;

Expand Down
3 changes: 0 additions & 3 deletions src/config/configitems.cpp
Expand Up @@ -482,9 +482,6 @@ bool ConfigItems::load( const bool restore )
// ツールバーの背景描画
draw_toolbarback = cf.get_option_bool( "draw_toolbarback", CONF_DRAW_TOOLBARBACK );

std::list< std::string > list_tmp;
std::list< std::string >::iterator it_tmp;

// スレ あぼーん word
str_tmp = cf.get_option_str( "abonewordthread", "" );
if( ! str_tmp.empty() ) list_abone_word_thread = MISC::strtolist( str_tmp );
Expand Down
2 changes: 0 additions & 2 deletions src/dbimg/img.cpp
Expand Up @@ -777,8 +777,6 @@ void Img::read_info()
*/
// TODO : JDLIB::ConfLoaderFast を作る
std::string str_info, str_tmp;
std::list< std::string > list_tmp;
std::list< std::string >::iterator it_tmp;
CACHE::load_rawdata( path_info, str_info );

std::list< std::string > lines = MISC::get_lines( str_info );
Expand Down
2 changes: 1 addition & 1 deletion src/globalabonethreadpref.h
Expand Up @@ -62,7 +62,7 @@ namespace CORE
GlobalAboneThreadPref( Gtk::Window* parent, const std::string& url )
: SKELETON::PrefDiag( parent, url )
{
std::string str_name, str_word, str_regex;
std::string str_word, str_regex;
std::list< std::string >::iterator it;

// スレ数、時間
Expand Down