Skip to content

Commit

Permalink
Fix some compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Abs62 committed Sep 26, 2012
1 parent 4c5e79c commit f6a3b16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dictzip.c
Expand Up @@ -429,7 +429,7 @@ static int dict_read_header( const char *filename,
dictData *dict_data_open( const char *filename, int computeCRC )
{
dictData *h = NULL;
struct stat sb;
// struct stat sb;
int j;

if (!filename)
Expand Down
4 changes: 2 additions & 2 deletions groups_widgets.cc
Expand Up @@ -230,7 +230,7 @@ bool DictListModel::insertRows( int row, int count, const QModelIndex & parent )

void DictListModel::addRow(const QModelIndex & parent, sptr< Dictionary::Class > dict)
{
for (int i = 0; i < dictionaries.size(); i++)
for (unsigned i = 0; i < dictionaries.size(); i++)
{
if (dictionaries[i]->getId() == dict->getId())
return;
Expand Down Expand Up @@ -580,7 +580,7 @@ void DictGroupsWidget::addAutoGroups()
// ::Initializing init( this, true );
// QApplication::processEvents();

for ( int i = 0; i < allDicts->size(); i++ )
for ( unsigned i = 0; i < allDicts->size(); i++ )
{
sptr<Dictionary::Class> dict = allDicts->at( i );

Expand Down

0 comments on commit f6a3b16

Please sign in to comment.