Fossil

Check-in [01d3c338]
Login

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

Overview
Comment:corrected two 'var may be used uninitialized' warnings
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 01d3c3387495327ecc4e6322934d2e0819368d1d
User & Date: stephan 2008-02-02 18:51:19
Context
2008-02-02
21:10
added /tagview page - a simple browse-by-tag interface check-in: 02d1ed6a user: stephan tags: trunk
18:51
corrected two 'var may be used uninitialized' warnings check-in: 01d3c338 user: stephan tags: trunk
18:44
fixed a minor memleak in update.c:revert_cmd() check-in: 22cc813f user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/wiki.c.

187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
...
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342

/*
** WEBPAGE: wikiedit
** URL: /wikiedit?name=PAGENAME
*/
void wikiedit_page(void){
  char *zTag;
  int rid;
  int isSandbox;
  Blob wiki;
  Manifest m;
  const char *zPageName;
  char *zHtmlPageName;
  int n;
  const char *z;
................................................................................

/*
** WEBPAGE: wikiappend
** URL: /wikiappend?name=PAGENAME
*/
void wikiappend_page(void){
  char *zTag;
  int rid;
  int isSandbox;
  const char *zPageName;
  char *zHtmlPageName;
  const char *zUser;

  login_check_credentials();
  zPageName = PD("name","");







|







 







|







187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
...
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342

/*
** WEBPAGE: wikiedit
** URL: /wikiedit?name=PAGENAME
*/
void wikiedit_page(void){
  char *zTag;
  int rid = 0;
  int isSandbox;
  Blob wiki;
  Manifest m;
  const char *zPageName;
  char *zHtmlPageName;
  int n;
  const char *z;
................................................................................

/*
** WEBPAGE: wikiappend
** URL: /wikiappend?name=PAGENAME
*/
void wikiappend_page(void){
  char *zTag;
  int rid = 0;
  int isSandbox;
  const char *zPageName;
  char *zHtmlPageName;
  const char *zUser;

  login_check_credentials();
  zPageName = PD("name","");