Fossil SCM

Remove some superfluous comments.

stephan 2026-11-17 12:30 UTC small-fixes-2
Commit d635300eac4eaf76b5e1b112d825e7066f8c971fadffb641a97b0386ffd1cef6
1 file changed -4
-4
--- src/th.c
+++ src/th.c
@@ -2166,14 +2166,10 @@
21662166
}
21672167
}
21682168
}
21692169
21702170
if( rc==TH_OK && eArgType==ARG_INTEGER ){
2171
- /* Integer arithmetic wraps around. It is done on unsigned ints, for
2172
- ** which that is defined. Dividing by -1 is negation, written out
2173
- ** because the machine instruction traps on some processors when
2174
- ** the result does not fit. */
21752171
unsigned int uLeft = (unsigned int)iLeft;
21762172
unsigned int uRight = (unsigned int)iRight;
21772173
int iRes = 0;
21782174
switch( pExpr->pOp->eOp ) {
21792175
case OP_MULTIPLY: iRes = (int)(uLeft*uRight); break;
21802176
--- src/th.c
+++ src/th.c
@@ -2166,14 +2166,10 @@
2166 }
2167 }
2168 }
2169
2170 if( rc==TH_OK && eArgType==ARG_INTEGER ){
2171 /* Integer arithmetic wraps around. It is done on unsigned ints, for
2172 ** which that is defined. Dividing by -1 is negation, written out
2173 ** because the machine instruction traps on some processors when
2174 ** the result does not fit. */
2175 unsigned int uLeft = (unsigned int)iLeft;
2176 unsigned int uRight = (unsigned int)iRight;
2177 int iRes = 0;
2178 switch( pExpr->pOp->eOp ) {
2179 case OP_MULTIPLY: iRes = (int)(uLeft*uRight); break;
2180
--- src/th.c
+++ src/th.c
@@ -2166,14 +2166,10 @@
2166 }
2167 }
2168 }
2169
2170 if( rc==TH_OK && eArgType==ARG_INTEGER ){
 
 
 
 
2171 unsigned int uLeft = (unsigned int)iLeft;
2172 unsigned int uRight = (unsigned int)iRight;
2173 int iRes = 0;
2174 switch( pExpr->pOp->eOp ) {
2175 case OP_MULTIPLY: iRes = (int)(uLeft*uRight); break;
2176

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button