Free Hero Mesh

Check-in [e7826dace2]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Fix a compiler warning relating to return without a value even though the function should have a return value.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e7826dace2b6cf84a493124a39d14d699a8ee372
User & Date: user on 2022-02-05 22:54:29
Other Links: manifest | tags
Context
2022-02-08
02:51
Implement a few new instructions dealing with links: exec ,exec link rtn check-in: 5ea66f6525 user: user tags: trunk
2022-02-05
22:54
Fix a compiler warning relating to return without a value even though the function should have a return value. check-in: e7826dace2 user: user tags: trunk
2022-02-04
07:33
Correct some mistakes in the implementation and documentation of deferred movement. check-in: b8f6f2d21d user: user tags: trunk
Changes

Modified picedit.c from [2da22ea3b6] to [bb85947c15].

1607
1608
1609
1610
1611
1612
1613
1614

1615
1616
1617
1618
1619
1620

1621
1622
1623
1624
1625
1626
1627
1607
1608
1609
1610
1611
1612
1613

1614
1615
1616
1617
1618
1619

1620
1621
1622
1623
1624
1625
1626
1627







-
+





-
+







  const char*s=screen_prompt("Copy from:");
  int i;
  sqlite3_set_last_insert_rowid(userdb,0);
  if(!s || !*s) return 0;
  if(sqlite3_prepare_v2(userdb,"INSERT INTO `PICEDIT`(`NAME`,`TYPE`,`DATA`) SELECT VALID_NAME(?2)||SUBSTR(`NAME`,-4),`TYPE`,`DATA` "
   "FROM `PICEDIT` WHERE SUBSTR(`NAME`,1,LENGTH(`NAME`)-4)=?1 AND `TYPE`<>0;",-1,&st,0)) {
    screen_message(sqlite3_errmsg(userdb));
    return;
    return 0;
  }
  sqlite3_bind_text(st,1,s,-1,SQLITE_TRANSIENT);
  s=screen_prompt("Copy to:");
  if(!s || !*s) {
    sqlite3_finalize(st);
    return;
    return 0;
  }
  sqlite3_bind_text(st,2,s,-1,SQLITE_TRANSIENT);
  i=sqlite3_step(st);
  sqlite3_finalize(st);
  if(i==SQLITE_DONE) {
    return sqlite3_last_insert_rowid(userdb);
  } else {