Changeset eb58f9 in git


Ignore:
Timestamp:
Feb 4, 2014, 1:00:05 AM (10 years ago)
Author:
Max Horn <max@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '45e267b9942dec9429fe249ce3e5e44ab80a6a3a')
Children:
d2050434735baad363fed947e9ff16553a348807
Parents:
3864580f5b6e28d2b72d0f2f7c630946415432e7
Message:
Fix warnings about comparision vs. assignment in 'if' clauses
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/pyobject.cc

    r386458 reb58f9  
    269269  void append_iter(self iterator) {
    270270    ptr_type item;
    271     while (item = PyIter_Next(iterator)) {
     271    while ((item = PyIter_Next(iterator))) {
    272272      PyList_Append(*this, item);
    273273      Py_DECREF(item);
  • kernel/syz3.cc

    r386458 reb58f9  
    10701070    for (j=0;j<i;j++)
    10711071    {
    1072       if ((pGetComp(add_generators->m[j])==pGetComp(add_generators->m[i])))
     1072      if (pGetComp(add_generators->m[j]) == pGetComp(add_generators->m[i]))
    10731073      {
    10741074        p = pOne();
Note: See TracChangeset for help on using the changeset viewer.