Fossil

Check-in [120ff0b8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove unused local variables that caused breakages with -Werror. To do: This branch still gives a very different answer than trunk for /annotate?limit=-1&checkin=8e27a5a0&filename=src/login.c&log=1
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | annotation-enhancements
Files: files | file ages | folders
SHA3-256: 120ff0b8a39436028a52a7af5d7c9c2963f1682e6dfc7e4ea08c1beb3f8ea876
User & Date: drh 2017-09-24 09:39:11
Context
2017-09-24
10:58
The annotate_file() function is now closer to being correct, but is still not quote right. check-in: 54c0dab0 user: drh tags: annotation-enhancements
09:39
Remove unused local variables that caused breakages with -Werror. To do: This branch still gives a very different answer than trunk for /annotate?limit=-1&checkin=8e27a5a0&filename=src/login.c&log=1 check-in: 120ff0b8 user: drh tags: annotation-enhancements
04:42
Use tables throughout globs.md check-in: 7f2689b1 user: andygoth tags: annotation-enhancements
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/diff.c.

2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
  int i;            /* Loop counter */
  const char *zLimit; /* The value to the -n|--limit option */
  int iLimit;       /* How far back in time to look */
  int showLog;      /* True to show the log */
  int fileVers;     /* Show file version instead of check-in versions */
  u64 annFlags = 0; /* Flags to control annotation properties */
  int bBlame = 0;   /* True for BLAME output.  False for ANNOTATE. */
  Manifest *pManifest; /* Manifest structure */
  ManifestFile *pFile; /* Manifest file pointer */

  bBlame = g.argv[1][0]!='a';
  zRevision = find_option("r","revision",1);
  zLimit = find_option("limit","n",1);
  if( zLimit==0 || zLimit[0]==0 ) zLimit = "-1";
  iLimit = atoi(zLimit);
  if( iLimit<=0 ) iLimit = 1000000000;







<
<







2537
2538
2539
2540
2541
2542
2543


2544
2545
2546
2547
2548
2549
2550
  int i;            /* Loop counter */
  const char *zLimit; /* The value to the -n|--limit option */
  int iLimit;       /* How far back in time to look */
  int showLog;      /* True to show the log */
  int fileVers;     /* Show file version instead of check-in versions */
  u64 annFlags = 0; /* Flags to control annotation properties */
  int bBlame = 0;   /* True for BLAME output.  False for ANNOTATE. */



  bBlame = g.argv[1][0]!='a';
  zRevision = find_option("r","revision",1);
  zLimit = find_option("limit","n",1);
  if( zLimit==0 || zLimit[0]==0 ) zLimit = "-1";
  iLimit = atoi(zLimit);
  if( iLimit<=0 ) iLimit = 1000000000;