Fossil

Check-in [af39da6d]
Login

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

Overview
Comment:Do away with compiler warning about uninitialized variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:af39da6d5583f8011c494ea8d1113aaa6212a9c723baa4b1d513094daf32c60a
User & Date: andybradford 2018-09-03 16:12:38
Context
2018-09-04
11:59
Fixed some grammar and spelling in the th1.md doc. check-in: 40787f50 user: wyoung tags: trunk
2018-09-03
16:12
Do away with compiler warning about uninitialized variable. check-in: af39da6d user: andybradford tags: trunk
07:40
Calling db_end_transaction() from the early-exit code paths of setup_skin_admin() to avoid "Transaction started at ./src/skins.c:466 never commits" complaints with some types of Admin -> Skins edits. check-in: 1c0b78b4 user: wyoung tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/forum.c.

772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
** Edit an existing forum message.
** Query parameters:
**
**   fpid=X        Hash of the post to be editted.  REQUIRED
*/
void forumedit_page(void){
  int fpid;
  Manifest *pPost;
  const char *zMimetype = 0;
  const char *zContent = 0;
  const char *zTitle = 0;
  int isCsrfSafe;
  int isDelete = 0;

  login_check_credentials();







|







772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
** Edit an existing forum message.
** Query parameters:
**
**   fpid=X        Hash of the post to be editted.  REQUIRED
*/
void forumedit_page(void){
  int fpid;
  Manifest *pPost = 0;
  const char *zMimetype = 0;
  const char *zContent = 0;
  const char *zTitle = 0;
  int isCsrfSafe;
  int isDelete = 0;

  login_check_credentials();